Next: Invoking jv-scan, Previous: Invoking gcjh, Up: Top
The gjnih
program is used to generate JNI header files from class
files. Running it is equivalent to running gcjh -jni
.
-stubs
gjnih
to generate stub files instead of header files.
By default the stub file will be named after the class, with a suffix of
`.c'.
-jni
-force
gjnih
to write the output file.
-old
-trace
-J
option-add
textgjnih
.
-append
textgjnih
.
-friend
textfriend
declaration.
This is ignored by gjnih
.
-prepend
textgjnih
.
--classpath=
path--CLASSPATH=
path--bootclasspath=
path-I
directory-d
directory-o
file-o
file-td
directory-M
-MM
-MD
-MMD
--help
gjnih
and exit. No further processing is done.
--version
gjnih
and exit. No further
processing is done.
-v, --verbose
All remaining options are considered to be names of classes.