Menu Search

Appendix F. Miscellaneous

F.1. JVM Installation verification

F.1.1. Verify JVM on Windows

Firstly confirm that the JAVA_HOME environment variable is set correctly by typing the following at the command prompt:

echo %JAVA_HOME%

If JAVA_HOME is set you will see something similar to the following:

c:"\PROGRA~1"\Java\jdk-11.0.13\
      

Then confirm that a Java installation (11 or higher) is available:

java -version

If java is available on the path, output similar to the following will be seen:

java version "11.0.13" 2021-10-19 LTS
        Java(TM) SE Runtime Environment 18.9 (build 11.0.13+10-LTS-370)
        Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.13+10-LTS-370, mixed mode

F.1.2. Verify JVM on Unix

Firstly confirm that the JAVA_HOME environment variable is set correctly by typing the following at the command prompt:

echo $JAVA_HOME

If JAVA_HOME is set you will see something similar to the following:

/usr/java/jdk-11.0.13
      

Then confirm that a Java installation (11 or higher) is available:

java -version

If java is available on the path, output similar to the following will be seen:

java version "11.0.13" 2021-10-19 LTS
        Java(TM) SE Runtime Environment 18.9 (build 11.0.13+10-LTS-370)
        Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.13+10-LTS-370, mixed mode