JamaicaVM -- User Documentation: The Virtual Machine for Real-time and Embedded Systems | ||
---|---|---|
Prev | Chapter 6. Jamaica and the Java Native Interface (JNI) | Next |
To control the jamaicah tool, a variety of arguments can be provided. The arguments can be provided directly to jamaicah, or using the property file jamaicah.conf.
The syntax is as follows:
jamaicah [-help (--help, -h, -?)] [-Xhelp] [-jni] [-jbi] [-d=<directory>] [-o=<filename>] [-version] [-showSettings] [-saveSettings=<filename>] [-configuration=<file>] [-classpath (-cp)=<path>] [-XjamaicaHome=<path>] [-bootclasspath (-Xbootclasspath)=<path>] class1 [... classn] |
These are general options providing information about jamaicah itself.
Display the usage of the jamaicah tool and a short description of all possible standard command line options.
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.
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.
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.
Specify output directory for created header files. The filenames are deduced from the full qualified Java class names where '.' are replaced by '_' and the extension '.h' is appended.
Specify the name of the created header file. If not set the filename is deduced from the full qualified Java class name where '.' are replaced by '_' and the extension '.h' is appended.
The currently used options of the jamaicah are written to standard outputin property file format. To make these the default settings, write the output into /home/schnider/Jamaica-2.6/build-doc/src/etc/jamaicah.conf.
The currently used options of Jamaicah are written to the provided file in property file format.
The set of options used to build the application are read from the provided file. The format used to define options must be identical to the default configuration file <JAMAICA>/etc/jamaica.conf. With this option given, the other default configuration files, i.e. <JAMAICA>/etc/jamaica.conf and <HOME>/.jamaica/jamaica.conf, are ignored.