NonStop Server for Java Programmer's Reference (NSJ 4.2+)
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, 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 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.
Public Library Directory
Version 1 of the NonStop Server for Java 4 introduced a public library directory that has the
default name of /usr/tandem/java_public_lib.
For version 2 of the NonStop Server for Java 4, the default public library directory name
changed to /usr/tandem/java_public_lib_jdk142 because of the change to using
version 3 of the C++ run-time library.
Note the following migration guidelines for using this directory:
You should not put any native libraries that use version 2 of the C++ run-time library in
this directory.
●
You can migrate version-neutral libraries, such as those those written in C (for example,
the JToolkit library, libtdmext.lib) by copying them from
/usr/tandem/java_public_lib to
/usr/tandem/java_public_lib_jdk142.
●
For more information about using the public-library directory, see Using the Makefile to Link
in Native Libraries. See, also, Binding Libraries into the JVM.