NonStop Server for Java 5.1 Programmer's Reference
Failure to specify the JREHOME variable may cause the JVM to fail to start, prompting the following
Java error message:
Can't find class java.lang.NoClassDefFoundError. (Wrong classpath?)
Alternatively, the JVM starts successfully but the jar files in the directory
/usr/tandem/java/jre are used instead of the files under the directory where NonStop Server for
Java 5.1 is installed. This can produce unpredictable results.
_RLD_LIB_PATH
The _RLD_LIB_PATH environment variable specifies the library path for DLLs. You need to use this
environment variable only if you use user DLLs. You can specify one or more directories as necessary.
Separate each directory in the list by using a colon (:). Set this environment variable as follows:
_RLD_LIB_PATH=dll_path[:dll_pathn]...
where dll-path and dll-pathn are the directories where the user DLLs reside.
For example:
export _RLD_LIB_PATH=/home/me/mydll
Symbolic Link
The link /usr/tandem/java is created when NonStop Server for Java 5.1 is installed. It is a
symbolic link to the actual JDK directory, which has the form:
/usr/tandem/nssjava/jdk15x_hyy
where x refers to the version number of the Sun Microsystems update upon which NonStop Server for
Java 5.1 is based and yy refers to the particular product version update (PVU) of NonStop Server for
Java 5.1. For example, for NonStop Server for Java 5.1, based on J2SE 5.0 (or 1.5.0), the symbolic link is
/usr/tandem/nssjava/jdk150_h51.
The /usr/tandem/java is a shorthand way to refer to the latest version of the JDK installed on the
system. When you unpax a NonStop Server for Java 5.1 pax file, the symbolic link is created or reset to
refer to the JDK directory that is being unpaxed, which means that the symbolic link refers to the version
of NonStop Server for Java 5 that was last installed. You are not required to use the symbolic link. To
make sure you are always using the 5.0 version of the JDK, even if a later version has been installed, you
can put the bin directory in your PATH, for example:
export PATH=/usr/tandem/nssjava/jdk150_h51/bin:$PATH
You can also reset the symbolic link yourself by using the ln command with the -s option. For
example, if you install a PVU based on version 1.4.2 of the JDK, but still want version 1.5.0 to be the
one referred to by /usr/tandem/java, you can reset the symbolic link instead of unpaxing version
1.5.0 again:
$ cd /usr/tandem
$ rm java