Fix bug in JAVA_HOME