Next: Invoking gjnih, Previous: Compatibility, Up: Top
The gcjh program is used to generate header files from class
files. It can generate both CNI and JNI header files, as well as stub
implementation files which can be used as a basis for implementing the
required native methods.
-stubsgcjh to generate stub files instead of header files.
By default the stub file will be named after the class, with a suffix of
`.cc'. In JNI mode, the default output file will have the suffix
`.c'.
-jnigcjh to generate a JNI header or stub. By default,
CNI headers are generated.
-forcegcjh to write the output file.
-old-trace-J option-add text-append text-friend textfriend declaration.
This is ignored in JNI mode.
-prepend text--classpath=path--CLASSPATH=path--bootclasspath=path-Idirectory-d directory-o file-o file-td directory-M-MM-MD-MMD--helpgcjh and exit. No further processing is done.
--versiongcjh and exit. No further
processing is done.
-v, --verboseAll remaining options are considered to be names of classes.