Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2009 16:33:54 +0100
From:      "Frank Behrens" <frank@ilse.behrens.de>
To:        freebsd-java@freebsd.org
Subject:   Re: openjdk 7 error in socket
Message-ID:  <200901161533.n0GFXsxM022127@post.behrens.de>
In-Reply-To: <op.unureixg8527sy@82-170-177-25.ip.telfort.nl>
References:  <op.unuon3hf8527sy@82-170-177-25.ip.telfort.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Ronald Klop <ronald-freebsd8@www.klop.ws> wrote on 16 Jan 2009 14:50:
> On Fri, 16 Jan 2009 13:51:29 +0100, Ronald Klop  
> <ronald-freebsd8@klop.yi.org> wrote:
> > I just build openjdk 7 on FreeBSD 7.1-amd64.
> >
> > I've problems running something which makes a network connection.
> > java.net.SocketException: Invalid argument
>...
> The option -Djava.net.preferIPv4Stack=true helps, but it is a little  
> inconvenient to add it to all java invocations. I asume a better fix is in  
> the make? Or are there better workarounds?

I don't know the code in openjdk, but I guess it suffers from the 
same architectural deficiencies as JDK 1.6.
(http://diario.beerensalat.info/2008/10/12/java_and_ipv6_on_bsd.html
but I did not evaluate client sockets)

-- 
Frank Behrens, Osterwieck, Germany
PGP-key 0x5B7C47ED on public servers available.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901161533.n0GFXsxM022127>