1GJAR(1) GNU GJAR(1)
2
3
4
6 gjar - - Archive tool for Java archives
7
9 gjar -ctxui [OPTIONS] jar-file [-C DIR FILE] FILE...
10
12 gjar is an implementation of Sun's jar utility that comes with the JDK.
13
14 If any file is a directory then it is processed recursively. The
15 manifest file name and the archive file name needs to be specified in
16 the same order the -m and -f flags are specified.
17
19 Operation mode:
20
21 -c Create new archive.
22
23 -t List table of contents for archive.
24
25 -x Extract named (or all) files from archive.
26
27 -u Update existing archive.
28
29 -i FILE
30 Compute archive index.
31
32 Operation modifiers:
33
34 -f FILE
35 Specify archive file name.
36
37 -0 Store only; use no ZIP compression.
38
39 -v Generate verbose output on standard output.
40
41 -M Do not create a manifest file for the entries.
42
43 -m manifest
44 Include manifest information from specified manifest file.
45
46 File name selection:
47
48 -C DIR FILE
49 Change to the DIR and include the following FILE.
50
51 -@ Read the names of the files to add to the archive from stdin. This
52 option is supported only in combination with -c or -u. Non
53 standard option added in the GCC version.
54
55 Standard options:
56
57 -help
58 Print help text, then exit.
59
60 -version
61 Print version number, then exit.
62
63 -JOPTION
64 Pass argument to the Java runtime.
65
68 java(1), ...
69
710.98 2010-04-27 GJAR(1)