Correctly setting JAVA_HOME