set JAVA_HOME on OS X