Add a function to set JAVA_HOME to the default