OpenJDK6 not building

Stacy Millions stacy at Millions.Ca
Wed May 19 22:45:32 UTC 2010

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, 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 \ \

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

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


More information about the freebsd-ports mailing list