1FASTJAR(1) GNU FASTJAR(1)
2
3
4
6 fastjar - archive tool for Java archives
7
9 fastjar -ctxu [OPTIONS] [jar-file] [manifest-file] [-C dir] files...
10
12 "fastjar" is an implementation of Sun's jar utility that comes with the
13 JDK, written entirely in C, and runs in a fraction of the time while
14 being feature compatible.
15
16 If any file is a directory then it is processed recursively. The mani‐
17 fest file name and the archive file name needs to be specified in the
18 same order the -m and -f flags are specified.
19
21 Exactly one of the following actions must be specified:
22
23 -c Create new archive.
24
25 -t List table of contents for archive.
26
27 -x Extract named (or all) files from archive.
28
29 -u Update existing archive.
30
31 The following parameters are optional:
32
33 -@ Read the names of the files to add to the archive from stdin. This
34 option is supported only in combination with -c or -u. Non stan‐
35 dard option added in the GCC version.
36
37 -C directory
38 Change to the directory and include the following file.
39
40 -E Prevent fastjar from reading the content of a directory when speci‐
41 fying one (and instead relying on the provided list of files to
42 populate the archive with regard to the directory entry). Non stan‐
43 dard option added in the GCC version.
44
45 -M Do not create a manifest file for the entries.
46
47 -i Generate an index of the packages in this jar and its Class-Path
48 (currently a no-op for jar command-line compatibility).
49
50 -0 Store only; use no ZIP compression.
51
52 -V
53 --version
54 Display version information.
55
56 -f archive
57 Specify archive file name.
58
59 -m manifest
60 Include manifest information from specified manifest file.
61
62 -v Generate verbose output on standard output.
63
64 All remaining options are considered to be names of files.
65
67 gcj(1), gij(1), grepjar(1) and the Info entry for gcj.
68
70 Copyright (C) 2002 Matthias Klose
71
72 Permission is granted to copy, distribute and/or modify this document
73 under the terms of the GNU General Public License as published by the
74 Free Software Foundation; either version 2, or (at your option) any
75 later version. A copy of the license is included in the man page
76 gpl(7).
77
78
79
80gcc-4.1.2 2007-09-25 FASTJAR(1)