Pages

Friday, November 22, 2013

Error: JAVA_HOME is not set.

Following command will output the java installation directory
which java

Mine is,  /usr/bin/java (OSX 10.9)

Then set the class path using the command given below:
export JAVA_HOME=/usr/bin/java

No comments:

Post a Comment