Linking and Running

Linking

The generator creates a .c and .h file that may be compiled and linked into the C application. The Java JVM library must also be linked into the application.

Running

At runtime the JVM library (libjvm.so) must be accessible via the library path. Furthermore at runtime the following two environment variables must be defined so that the JVM (and the code shim) can run:

CLASSPATH
This must be defined. It is used in the standard Java way.
JAVA_OPTIONS
is a space delimited string that contains all options that would be passed to the JVM. An example would be -Xms90m -Xms200m which would specify initial and maximum heap size as documented for the standard java command.


Nazario Irizarry, Jr.
n_irizarry (at) users (dot) sourceforge (dot) net
© 2013 The MITRE Corporation. All Rights Reserved.
Approved for Public Release: 13-2602. Distribution Unlimited.