NonStop Server for Java (NSJ) Programmer's Guide (NSJ 2.0+)

To run the NSKCOM tool, you must log on to your NonStop
TM
Kernel operating system as a
super-group user. Then, from the Guardian TACL prompt, run the NSKCOM tool. From within
the NSKCOM tool, use the help add and help start commands to get more information.
For further information, see the Kernel Managed Swap Facility (KMSF) Manual.
Setting Environment Variables
You must set the environment variable PATH, but setting the environment variable
JAVA_HOME is no longer required.
You need to set the environment variable CLASSPATH only if you move any of the provided
.zip or .jar files or want to load a nondefault library (such as one that you develop).
PATH
The environment variable PATH enables Open System Services (OSS) to find the Java
executable files in the /usr/tandem/java/bin directory; therefore, you must add the
absolute path of the /usr/tandem/java/bin directory to the PATH environment variable.
To add the absolute path, use this command:
export PATH=/usr/tandem/java/bin:$PATH
Then (assuming that your startup file has the name ~/.startup_file_name), use the
following command to load it:
. .startup_file_name
For example, if your startup file had the name ~/.profile, you would use the following
command to load it:
. .profile
CLASSPATH
If you follow the default installation procedure, you do not need to set the environment variable
CLASSPATH. You must set CLASSPATH only if you move any of the provided .zip or .jar
files or want to load a nondefault library (such as one that you develop).
CLASSPATH tells the JVM and other Java programs in the /usr/tandem/java/bin
directory where to find the class libraries (for example, the rt.jar file in the jre/lib
directory). By default, the Java tools append the following file to whatever CLASSPATH you
have explicitly set:
libpath/tandemvm.jar:libpath/rt.jar
where libpath is /usr/tandem/java/jre/lib.