2016-12-05

MacOS - How to set JAVA_HOME environmental variable

Customize the path to the one in your system, and add this line to ~/.bash_profile

export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/


No comments:

Post a Comment