1GCJH(1) GNU GCJH(1)
2
3
4
6 gcjh - - generate header files from Java class files
7
9 gcjh [OPTIONS]... CLASS...
10
12 The "gcjh" program is used to generate header files from class files.
13 It can generate both CNI and JNI header files, as well as stub
14 implementation files which can be used as a basis for implementing the
15 required native methods. It is similar to "javah" but has slightly
16 different command line options, and defaults to CNI.
17
19 See "javah" for a full description; this page only lists the additional
20 options provided by "gcjh".
21
22 CNI text options
23
24 -add text
25 Insert text into class body.
26
27 -append text
28 Append text after class declaration.
29
30 -friend text
31 Insert text as a "friend" declaration.
32
33 -prepend text
34 Insert text before start of class.
35
36 Compatibility options (unused)
37
38 -td DIR
39 -M
40 -MM
41 -MD
42 -MMD
43 Unused compatibility option.
44
45 Standard options:
46
47 -help
48 Print help text, then exit.
49
50 -version
51 Print version number, then exit.
52
53 -JOPTION
54 Pass argument to the Java runtime.
55
58 javac(1), javah(1), ...
59
610.98 2012-03-13 GCJH(1)