unpack200 [ options ] input-file JAR-fileOptions may be in any order. The last option on the command line supersedes all previously specified options.
input-file- Name of the input file, which can be a pack200 gzip file or a pack200 file. The input could also be JAR file produced by pack200(1) with an effort of 0. In this case the contents of the input file will be copied to the output JAR file with the Pack200 marker.
JAR-file- Name of the output JAR file.
unpack200is a native implementation that transforms a packed file produced bypack200(1) into a JAR file. Typical usage:
% unpack200 myarchive.pack.gz myarchive.jarIn this example, the
myarchive.jaris produced frommyarchive.pack.gzusing the defaultunpack200settings.
-Hvalue --deflate-hint=valueSets the deflation to be
true,false, orkeepon all entries within a JAR file. The default mode iskeep. Iftrueorfalse, overrides the default behavior and sets the deflation mode on all entries within the output JAR file.
-r --remove-pack-fileRemoves the input packed file.
-v --verboseOutputs minimal messages. Multiple specification of this option will output more verbose messages.
-q --quietSpecifies quiet operation with no messages.
-lfilename --log-file=filenameSpecifies a log file to output messages.
The following exit values are returned:
0if successful completion;
>0if an error occurred.
pack200(1), jar(1), jarsigner(1),
attributes(5) man pagesjar - Java Archive Tooljarsigner - JAR Signer toolThis command should not be confused with
unpack(1). They are distinctly separate products.The J2SE API Specification provided with the SDK is the superseding authority, in case of discrepancies.