Update the JAVA_HOME environment variable