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 -Xms200mwhich would specify initial and maximum heap size as documented for the standardjavacommand.