/usr/java/bin/jar
[options] [manifest] dest filesSolaris only. Java archive tool. All the named objects and directory trees (if directories are given) are combined into a single Java archive, presumably for downloading. jar is based on the ZIP and ZLIB compression formats; zip and unzip can process .jar
files with no trouble. If a manifest is not provided, jar creates one automatically. The manifest becomes the first entry in the archive, and it contains any needed metainformation about the archive.
Usage is similar to tar, in that the leading -
may be omitted from the options.
-c
Create a new or empty archive to standard output.
-f
The second argument, dest, is the archive to process.
-M
Use specified manifest instead of creating a manifest file.
-m
Don't create a manifest file.
-o
Don't compress the files with ZIP compression.
-t
Print a table of contents for the archive on standard output.
-v
Produce verbose output to standard error.
-x
[file]Extract named file, or all files if no file given.