set JAVA_HOME environment variable for mac