Build fails with "ERROR: Your JAVA_HOME environment variable is set"

Andrew Haley aph at redhat.com
Sat Sep 8 06:10:28 PDT 2007


Matthew Flaschen writes:
 > A build of latest hg fails with:
 > 
 > ERROR: Your JAVA_HOME environment variable is set.  This will
 >        most likely cause the build to fail.  Please unset it
 >        and start your build again.
 > 
 > Exiting because of the above error(s).
 > 
 > Should this need to be unset?  I think I've always built with it set in
 > the past.

Yes, it must be unset.  The IcsedTea makefile unsets it, I think.

Andrew.

-- 
Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK
Registered in England and Wales No. 3798903



More information about the distro-pkg-dev mailing list