NonStop Server for Java 7.0 Programmer's Reference
Verifying the Java installation
Check with your system administrator for the installed NSJ7 (32–bit and 64–bit) software locations,
and verify the installation and the environment. This example assumes that NSJ7 is installed in a
nonstandard location— /home/lee/nssjava/jdk170_h70 directory:
NOTE: For more information about the operating system requirements, see T2766H70 or
T2866H70 Softdoc file.
1. Set the PATH environment variable by using the following command at the OSS prompt:
For 32–bit NSJ7:
$ export PATH=/home/lee/nssjava/jdk170_h70/bin:$PATH
For 64–bit NSJ7:
$ export PATH=/home/lee/nssjava/jdk170_h70/bin/oss64:$PATH
2. Confirm that the path is set correctly by typing the whence command:
For 32–bit NSJ7:
whence java
/home/lee/nssjava/jdk170_h70/bin/java
For 64–bit NSJ7:
whence java
/home/lee/nssjava/jdk170_h70/bin/oss64/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:
T2766Hnn or T2866Hnn
A vproc example is:
Version procedure: T2766H70_07FEB2014_jdk170_ACJ...
or
Version procedure: T2866H70_07FEB2014_jdk170_ACJ...
NOTE: JREHOME shell variable need not be set for NSJ7. However, if this variable is set, NSJ7
will accept it. If this variable is set, then you must ensure that it points to the correct JDK.
Configuring NonStop system for NSJ7
This subsection explains how to configure your system for the Java SE JDK by:
• “Creating larger or additional swap file” (page 24)
• “Setting environment variables” (page 24)
• “Configuring TCP/IP and DNS for RMI” (page 26)
• “Memory considerations: Moving QIO to KSEG2” (page 26)
NOTE: Do not install any JAR or native library files in the NonStop Server for Java installation
directory.
Verifying the Java installation 23










