NonStop Server for Java 6.0 Programmer's Reference
Java 6.0, see “Supported and Unsupported Features of NonStop Server for Java 6.0” (page 87)and
“New and Changed Information” (page 8).
Installation Changes
The standard location for the NonStop Server for Java 6.0 is a location of the form:
/usr/tandem/nssjava/jdk160_h60
where jdk60 refers to the version number of the Sun Microsystems update upon
which NonStop Server for Java 6.0 is based. The number h60 identifies the
particular NonStop Server for Java 6.0 > PVU.
When the PAX file is extracted, a symbolic link is created at the standard location:
/usr/tandem/java.
If you want to install NonStop Server for Java 6.0 in a nonstandard location, you can do so as
with earlier releases. To do that kind of installation, use the File Transfer Protocol (FTP) to transfer
the file from the CD to the NonStop system. Then follow the directions in the product Softdoc for
a nonstandard installation.
NOTE: HP recommends that NonStop Server for Java 6.0 be installed in the standard location
whenever possible.
Public Library Directory
The public library directory does not apply to NonStop Server for Java 4, 5, 5.1, or 6.0 hosted
on TNS/E because DLLs are used on TNS/E. For information about migrating native libraries, see
“Dynamic Link Libraries (DLLs)” (page 82).
Java Based JAR File Locations
For users of NonStop Server for Java 3.1.x or earlier versions, guidelines have changed for placing
Java Archive files (JAR or .jar) both “For Java Based Products” (page 81) and “User-Provided
JAR Files” (page 81).
For Java Based Products
Before version 1 of the NonStop Server for Java 4 (based on J2SE SDK 1.4.0), no guidelines were
provided for where Java based products should install their JAR files. Many of these products
installed their JAR files in the /usr/tandem/java/jre/lib/ext directory. Occasionally, the
installation of a Java based product would overwrite a JAR file required by another Java based
product, possibly causing a version mismatch.
In addition, Java based products had to be reinstalled whenever NonStop Server for Java issued
a new product version.
For these reasons, beginning with version 1 of the NonStop Server for Java 4, HP recommends
that the JAR files associated with Java based products remain in a product-specific directory.
When you follow this recommendation, you must include the JAR files of the Java based product
in either your CLASSPATH environment variable setting or the -classpath (-cp) command
line argument.
User-Provided JAR Files
Previously, many users also installed JAR files in /usr/tandem/java/jre/lib/ext because
they did not have to include such JAR files in their CLASSPATH. Beginning with version 1 of the
NonStop Server for Java 4 (based on J2SESDK 1.4.0), HP recommends you do not install
user-provided JAR files in any directory of versions 1 and 2 of the NonStop Server for Java 4 tree.
You should leave the JAR files in user-specific directories. If you follow this recommendation, you
Installation Changes 81










