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

Lillian Angel langel at redhat.com
Wed Sep 12 08:14:12 PDT 2007



Matthew Flaschen wrote:
> Andrew Haley wrote:
>> 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.
> 
> I didn't modify the makefile, so this is apparently a bug.

Line 63 in Makefile.am: @echo 'unset JAVA_HOME'

Lillian



More information about the distro-pkg-dev mailing list