Get the right location for JAVA_HOME