logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

fastjar - archive tool for Java archives

Description

       "fastjar" is an implementation of Sun's jar utility that comes with the JDK, written entirely in C, and
       runs in a fraction of the time while being feature compatible.

       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.

Name

       fastjar - archive tool for Java archives

Options

       Exactly one of the following actions must be specified:

       -c  Create new archive.

       -t  List table of contents for archive.

       -x  Extract named (or all) files from archive.

       -u  Update existing archive.

       The following parameters are optional:

       -@  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.

       -Cdirectory
           Change to the directory and include the following file.

       -E  Prevent fastjar from reading the content of a directory when specifying one (and instead  relying  on
           the  provided list of files to populate the archive with regard to the directory entry). Non standard
           option added in the GCC version.

       -M  Do not create a manifest file for the entries.

       -i  Generate an index of the packages in this jar and its Class-Path.

       -J  All options starting with -J are ignored.

       -0  Store only; use no ZIP compression.

       -V--version
           Display version information.

       -farchive
           Specify archive file name.

       -mmanifest
           Include manifest information from specified manifest file.

       -v  Generate verbose output on standard output.

       Parameters of the form @option{@}FILE are considered to be names of files,  and  are  expanded  with  the
       contents of the file.

       All remaining options are considered to be names of files.

See Also

gcj(1), gij(1), grepjar(1) and the Info entry for gcj.

Synopsis

       fastjar -ctxu [OPTIONS] [jar-file] [manifest-file] [-Cdir] files...

See Also