Verify Java SDK requirements Ensure that the $JAVA_HOMEvariable is set to the directory where you installed the Java SDK. echo $JAVA_HOME Ensure that $JAVA_HOME/bin is in your system PATH. echo $PATH Verify that the correct version of the Java SDK is installed. At the command line, type java -version Verify the Java path. Type which java The Java path returned must match the $JAVA_HOME/bin value.