Date: Wed, 19 May 2010 16:45:27 -0600 From: Stacy Millions <stacy@Millions.Ca> To: Damian Gerow <dgerow@afflictions.org> Cc: Dominic Fandrey <kamikaze@bsdforen.de>, freebsd-ports@freebsd.org Subject: Re: OpenJDK6 not building Message-ID: <4BF46A07.9050606@millions.ca> In-Reply-To: <20100519212514.GC68124@plebeian.afflictions.org> References: <4BF39021.8080005@bsdforen.de> <4BF44923.5090101@millions.ca> <20100519205008.GB68124@plebeian.afflictions.org> <4BF4562B.5060208@millions.ca> <20100519212514.GC68124@plebeian.afflictions.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 05/19/10 15:25, Damian Gerow wrote:
> Stacy Millions wrote:
> : AAAA records are not part of the issue... if you want a quick and dirty
> : test, try this
>
> Regardless, I tried with java.net.preferIPv4Stack=true, and it had no effect.
Dug into the build process a bit... they use a bundled version of ant
which doesn't call /usr/local/bin/java (who uses JAVAVM_OPTS).
Try adding these two lines to the MAKE_ENV of the port's Makefile
JAVACMD=${LOCALBASE}/bin/java \
JAVAVM_OPTS=-Djava.net.preferIPv4Stack=true \
and rerun make. It works for me.
> : At least that is how things behave for me.
>
> That seems ... counter-intuitive.
It seems counter to the documentation too
http://java.sun.com/javase/6/docs/technotes/guides/net/ipv6_guide
but I tend to take the pragmatic approach that when reality disagrees
with the documentation, I believe reality :-)
-stacy
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BF46A07.9050606>
