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-17.0.14+7\
      

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

java -version

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

openjdk version "17.0.5" 2022-10-18
        OpenJDK Runtime Environment Temurin-17.0.5+8 (build 17.0.5+8)
        OpenJDK 64-Bit Server VM Temurin-17.0.5+8 (build 17.0.5+8, mixed mode, sharing)

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