1GJAVAH(1) GNU GJAVAH(1)
2
3
4
6 gjavah - - generate header files from Java class files
7
9 gjavah ...
10
12 The gjavah program is used to generate header files from class files.
13 It can generate both CNI and JNI header files, as well as stub impleā
14 mentation files which can be used as a basis for implementing the
15 required native methods.
16
18 -d DIR
19 Set output directory.
20
21 -o FILE
22 Set output file (only one of -d or -o may be used).
23
24 -cmdfile FILE
25 Read command file.
26
27 -all DIR
28 Operate on all class files under directory DIR.
29
30 -stubs
31 Emit stub implementation.
32
33 -jni
34 Emit JNI stubs or header (default).
35
36 -cni
37 Emit CNI stubs or header (default JNI).
38
39 -verbose
40 Set verbose mode.
41
42 -force
43 Output files should always be written.
44
45 Class path options:
46
47 -classpath PATH
48 Set the class path.
49
50 -IDIR
51 Add directory to class path.
52
53 -bootclasspath PATH
54 Set the boot class path.
55
56 -extdirs PATH
57 Set the extension directory path.
58
59 Standard options:
60
61 -help
62 Print help text, then exit.
63
64 -version
65 Print version number, then exit.
66
67 -JOPTION
68 Pass argument to the Java runtime.
69
71 javac(1), ...
72
73
74
75gcc-4.1.2 2007-09-25 GJAVAH(1)