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
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"