NonStop Server for Java Programmer's Reference (NSJ 4.0+)
Table Of Contents

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 4 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 Kernel system. Then follow the directions in the
product SOFTDOC for a nonstandard installation.
HP recommends that NonStop Server for Java 4 be installed in the standard
location whenever possible.
Java-Based JAR File Locations
Guidelines have changed for placing Java Archive files (JAR or .jar) for both Java-based
products and user-provided JAR files.
For Java-Based Products
Before NonStop Server for Java 4, 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 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
NonStop Server for Java 4, HP recommends you do not install user-provided JAR files in any
directory in the NonStop Server for Java 4 tree. You should leave the JAR files in user-specific
directories. If you follow this recommendation, you will not have to reinstall user-provided JAR
files for new product releases of NonStop Server for Java 4. You, however, have to place the
JAR files in your CLASSPATH.