[PATCH FOR REVIEW]: Unset JAVA_HOME and JDK_HOME prior to building OpenJDK

Lillian Angel langel at redhat.com
Tue Aug 25 06:29:54 PDT 2009


Andrew John Hughes wrote:
> This simple patch for IcedTea6 unsets JAVA_HOME and JDK_HOME before
> starting an OpenJDK build.  If JAVA_HOME is set, an OpenJDK build will
> fail.
>
> Ok to commit?
>
> ChangeLog:
>
> 2009-08-25  Andrew John Hughes  <ahughes at redhat.com>
>
>         * Makefile.am:
>         Unset JAVA_HOME and JDK_HOME before building.
>
>   

I am not thrilled with the idea of unsetting env vars on a system. I 
think maybe it would be better for configure to fail and give an error 
message if either of these are set.


Thoughts?
Lillian



More information about the distro-pkg-dev mailing list