Update JAVA_HOME in darwin