Verifying the Java installation

Check with your system administrator for the installed NSJ 11 software locations, and verify the installation and the environment. This example assumes that NSJ 11 is installed in a nonstandard location for L-series /home/lee/nssjava/jdk110_l11 directory:

NOTE:

For more information about the operating system requirements, see T3066 Softdoc file.

  1. Set the PATH environment variable by using the following command at the OSS prompt:

    $ export PATH=/home/lee/nssjava/jdk110_l11/bin:$PATH

  2. Confirm that the path is set correctly by typing the whence command:

    whence java

    /home/lee/nssjava/jdk110_l11/bin/java

  3. Determine the version of the Java virtual machine (JVM) by typing the vproc command, which displays the product versions of the java binary file and any products bound in the java binary.

    The version identifier has the following form:

    T3066Lnn

    A vproc example is:

    The version procedure displays the following information:
    T3066L11_14FEB2021_jdk110_AAB_19Oct2020
  4. Specify java -version to view the details of Java runtime environment and VM.
    java version "11.0.8" 2020-07-14 LTS
    Java(TM) SE Runtime Environment 18.9 (build 11.0.8+10-LTS)
    Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.8+10-LTS, mixed mode)