How to set JAVA_HOME (PATH) in Mac OS? Example Tutorial
You can set JAVA_HOME in Mac OS X 10,10 or Yosemite by adding the following command in your ~/.bash_profile file, as shown below: export JAVA_HOME = `/usr/libexec/java_home` (remember backticks) or echo export "JAV…