Adding JAVA_HOME for Mac.