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

Demonstration
Program
Illustrates
invocation_api
How to properly build an executable that can create its own
Java virtual machine (Java VM)
javahjni
How to create a native library and statically link it with a
java executable and how to convert IEEE floating point to
TNS floating point
jdbcTrace
How to use JDBC trace facility (for more information on
using the facility, see JDBC Trace Facility, and the JDBC
Driver for SQL/MX Programmer's Reference.
Many of the demonstration programs require you to edit some files before the demonstration
programs can be run, as described in the accompanying README file.
Additional demonstration programs are provided if you install a JDBC Driver for NonStop SQL
product.
Running Java Tools
After installing the NonStop Server for Java 4 software and setting the environment variables, you
start a tool by typing its name at the shell prompt using a filename as an argument. You can also
specify the path to a tool by typing the path in front of the tool each time or by adding the path to the
startup file. For example, if the NonStop Server for Java 4 is installed at /usr/tandem/java, do
either of the following:
Type the following command to run the compiler:
/usr/tandem/java/bin/javac myfile.java
●
Add the string /usr/tandem/java/bin to your PATH variable, then type the following
command to run the compiler:
javac myfile.java
●
Verifying the NonStop Server for Java 4
Installation
You can verify whether you have the correct version of NonStop Server for Java 4. By default, the
NonStop Server for Java 4 installation directory is
/usr/tandem