Verify Java SDK requirements

  1. Ensure that the %JAVA_HOME%variable is set to the directory where you installed the Java SDK.

    echo %JAVA_HOME%

  2. Ensure that %JAVA_HOME%\bin is in your system PATH.

    echo %PATH%

  3. Verify that the correct version of the Java SDK is installed. At the command line, type

    java -version

  4. Verify the Java path. Type

    which java

    The Java path returned must match the %JAVA_HOME%\bin value.