Set JAVA_HOME in the environment