JamaicaH Usage

To control the jamaicah tool, a variety of arguments can be provided The arguments can be provided directly to jamaicah, or using a script file.

The syntax is as follows:

jamaicah [-help] [-Xhelp] [-showSettings] [-jni] [-jbi]
         [-version] [-Xdoc] [-classpath <path>] [-XjamaicaHome
         <path>] [-Xbootclasspath <path>]  class1 [... classn]

General

These are general options providing information about the builder itself or enabling the use of script files that specify further options

-help

Display the usage of the jamaicah tool and a short description of all possible standard command line options

-Xhelp

Display the usage of the JamaicaH tool and a short description of all possible standard and extended command line options. The extended command line options are not needed for normal control of the jamaicah command. They provide means to configure the tools and options to be used and provide tools required internally for development of the JamaicaVM

-showSettings

The currently used options of the JamaicaVM Builder are written to stdout in property file format. To make these the default settings, copy these options into your jamaica.conf file.

-jni

Create Java Native Interface header files for the native declarations in the provided Java class files. This option is the default and hence does not need to be specified explicitly.

-jbi

Generate Jamaica Binary Interface (JBI) headers instead of Java Native Interface (JNI) header files. JBI is a proprietary Jamaica interface for accessing code written in other programming languages than Java. JBI methods can be accessed faster than JNI methods. However, using JBI requires special care by the software developer.

-version

Prints the version of the JamaicaH Tool and exits.

-Xdoc

Setting this option causes the creation of docbook documentation file for this command.

Classes, files, and paths

-classpath <path>

Specifies default path used for loading classes

-XjamaicaHome <path>

Specifies the path to the Jamaica directory.

-Xbootclasspath <path>

Specifies default path used for loading system classes