gjavah-4.2

NAME

gjavah - - generate header files from Java class files

SYNOPSIS

gjavah ...

DESCRIPTION

The gjavah program is used to generate header files from class files. It can generate both \s-1CNI\s0 and \s-1JNI\s0 header files, as well as stub implementation files which can be used as a basis for implementing the required native methods.

OPTIONS

"-d Set output directory.
"-o Set output file (only one of -d or -o may be used).
"-cmdfile Read command file.
"-all Operate on all class files under directory \s-1DIR\s0.
"-stubs" Emit stub implementation.
"-jni" Emit \s-1JNI\s0 stubs or header (default).
"-cni" Emit \s-1CNI\s0 stubs or header (default \s-1JNI\s0).
"-verbose" Set verbose mode.
"-force" Output files should always be written.
Class path options:
"-classpath Set the class path.
"-I\s-1DIR\s0" Add directory to class path.
"-bootclasspath Set the boot class path.
"-extdirs Set the extension directory path.
Standard options:
"-help" Print help text, then exit.
"-version" Print version number, then exit.
"-J\s-1OPTION\s0" Pass argument to the Java runtime.

SEE ALSO

javac(1), ...