gjar(1) - Archive tool for Java archives


gjar -ctxui [OPTIONS] jar-file [-C DIR FILE] FILE...


gjar is an implementation of Sun's jar utility that comes with the JDK.

If any file is a directory then it is processed recursively. The manifest file name and the archive file name needs to be specified in the same order the -m and -f flags are specified.


Operation mode:
Create new archive.
List table of contents for archive.
Extract named (or all) files from archive.
Update existing archive.
Compute archive index.

Operation modifiers:

Specify archive file name.
Store only; use no ZIP compression.
Generate verbose output on standard output.
Do not create a manifest file for the entries.
-m manifest
Include manifest information from specified manifest file.

File name selection:

Change to the DIR and include the following FILE.
[email protected]
Read the names of the files to add to the archive from stdin. This option is supported only in combination with -c or -u. Non standard option added in the GCC version.

Standard options:

Print help text, then exit.
Print version number, then exit.
Pass argument to the Java runtime.