Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 2010 09:01:14 -0400
From:      Damian Gerow <dgerow@afflictions.org>
To:        Stacy Millions <stacy@Millions.Ca>
Cc:        Dominic Fandrey <kamikaze@bsdforen.de>, freebsd-ports@freebsd.org
Subject:   Re: OpenJDK6 not building
Message-ID:  <20100520130114.GD68124@plebeian.afflictions.org>
In-Reply-To: <4BF46A07.9050606@millions.ca>
References:  <4BF39021.8080005@bsdforen.de> <4BF44923.5090101@millions.ca> <20100519205008.GB68124@plebeian.afflictions.org> <4BF4562B.5060208@millions.ca> <20100519212514.GC68124@plebeian.afflictions.org> <4BF46A07.9050606@millions.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Stacy Millions wrote:
: 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.

Yup, that seems to have fixed it.  Thanks!

: but I tend to take the pragmatic approach that when reality disagrees 
: with the documentation, I believe reality :-)

Stupid reality, always getting in the way...



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