gjar-4.2

NAME

gjar - - Archive tool for Java archives

SYNOPSIS

gjar -ctxui [\s-1OPTIONS\s0] jar-file [-C \s-1DIR\s0 \s-1FILE\s0] \s-1FILE\s0...

DESCRIPTION

gjar is an implementation of Sun's jar utility that comes with the \s-1JDK\s0.
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.

OPTIONS

Operation mode:
"-c" Create new archive.
"-t" List table of contents for archive.
"-x" Extract named (or all) files from archive.
"-u" Update existing archive.
"-i Compute archive index.
Operation modifiers:
"-f Specify archive file name.
"-0" Store only; use no \s-1ZIP\s0 compression.
"-v" Generate verbose output on standard output.
"-M" Do not create a manifest file for the entries.
"-m Include manifest information from specified manifest file.
File name selection:
"-C Change to the \s-1DIR\s0 and include the following \s-1FILE\s0.
"-@" 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 \s-1GCC\s0 version.
Standard options:
"-help" Print help text, then exit.
"-version" Print version number, then exit.
"-J\s-1OPTION\s0" Pass argument to the Java runtime.

SEE ALSO

java(1), ...