NonStop Server for Java 4.2 Programmer's Reference

displays the product versions of the java binary file and any products bound into the java binary. For
the version of the NonStop Server for Java 4 installation, look for the product number T2766 following
a line that begins Version Procedure: The displayed version identifier changes with every update
of NonStop Server for Java 4.
The version identifier has the following form:
TNS/R systems: T2766Vnn
TNS/E systems: T2766Hnn
The following listing is an example from a TNS/R system.
$vproc /home/lee/jdk142/java/bin/java
VPROC - T9617G03 - (28 FEB 2003) SYSTEM \BEAN Date 21 MAY 2004,
17:10:39
Copyright 2003 Hewlett-Packard Development Company, L.P.
/home/lee/jdk142/java/bin/java
GMT Binder timestamp: 21MAY2004 20:29:46
....
Version procedure: T2766V20_10DEC2004_jdk142_...
....
Native Mode: runnable file
A vproc example from a TNS/E system is:
Version procedure: T2766H10_23MAY2005_jdk142...
4. To set the JREHOME shell variable, type the following command at the OSS prompt:
$export JREHOME=/home/lee/jdk142/java/jre
5. To confirm that your JREHOME shell variable is set correctly, type the following echo command at
the OSS prompt:
$echo $JREHOME
/home/lee/jdk142/java/jre
Tutorial: Running a Simple Program,
HelloWorld
After the NonStop Server for Java 4 is installed, follow these steps to create and run the HelloWorld
program.
The default OSS prompt is the dollar sign ($). The commands show the prompt, so do not type it. In text
showing computer input and output, the input you type is shown in bold.