NonStop Server for Java Programmer's Reference (NSJ 4.2+)
Relinks a new java file without any custom libraries or optional libraries. The new java
executable file is not SQL compiled. This rule produces a java executable that matches
what is released on the product CD.
make javasqlcomp
SQL compiles the java executable if the NonStop SQL/MP product is installed on the
system.
make clean
Removes temporary files created during the make process. Temporary files are always
removed at the start and the end of the make process. You may want to run this step explicitly
if a prior run of make failed to complete successfully.
Variables in the Makefile
The top part of the Makefile defines variables whose values you might need to change before using
the Makefile. You can change make command variables either by editing the Makefile or, for a less
permanent change, by setting the value of the variables on the make command line to override the
value in the Makefile.
INSTALL_DIR
Indicates where NonStop Server for Java 4 is installed. Its value is set to the default
installation location for the current release.
Note: /usr/tandem/java is a symbolic link and always points to the latest
installation of NonStop Server for Java 4. Using the symbolic directory in this
variable leads to your having to change this value when future versions of
NonStop Server for Java are installed.
If NonStop Server for Java 4 is installed in a directory other than the default
location, you should edit the Makefile to set this variable to the directory where
NonStop Server for Java 4 is installed.
CUSTLIB_DIRS
Contains a space-separated list of absolute directory names in which to search for custom
library files to link into the java executable. Custom library files can be archive library files
(*.a) or relinkable library files (*.lib). By default, the make operation looks for custom
libraries in /usr/tandem/java_public_lib_jdk142. If NonStop Server for Java 4
is installed in a nonstandard location, you should edit CUSTLIB_DIRS so that it contains the
java_public_lib_jdk142 directory created during installation. Typically, each
installation of NonStop Server for Java 4 should have its own copies of libraries to link in.
Custom native library files should not be put directly under the INSTALL_DIR directory
structure to avoid having to copy these files to a new NonStop Server for Java 4 installation
when you install a new version update.
Setting the CUSTLIB_DIRS variable allows you to place your custom JNI libraries in
directories of your own choosing. Follow these guidelines in setting this variable:
If you override this variable on the command line and you want to set its value to more❍