don't set JAVA_HOME if it doesn't exist