How to set JAVA_HOME for Java in Mac OS?

Java Programming Java8Object Oriented ProgrammingJava Technologies

Assuming you have installed Java in \usr\local\java\jdk directory −

if you use bash as your shell, then you would add the following line to the end of your '.bashrc: export JAVA_HOME=\usr\local\java\jdk'

raja
Published on 19-Jan-2018 17:21:28
Advertisements