# unpack200(1) - man - phpMan

[unpack200(1)](https://www.chedong.com/phpMan.php/man/unpack200/1/markdown)                            Java Deployment Tools                           [unpack200(1)](https://www.chedong.com/phpMan.php/man/unpack200/1/markdown)



## NAME
       unpack200 - Transforms a packed file produced by [pack200(1)](https://www.chedong.com/phpMan.php/man/pack200/1/markdown) into a JAR file for web
       deployment.

## SYNOPSIS
       **unpack200** [ _options_ ] input-file _JAR-file_


       _options_
              The command-line options. See Options.

       _input-file_
              Name of the input file, which can be a pack200 gzip file or a pack200 file. The input
              can also be JAR file produced by [**pack200**(1)](https://www.chedong.com/phpMan.php/man/pack200/1/markdown) with an effort of **0**, in which case the
              contents of the input file are copied to the output JAR file with the Pack200 marker.

       _JAR-file_
              Name of the output JAR file.

## DESCRIPTION
       The **unpack200** command is a native implementation that transforms a packed file produced by
       [**pack200(1)](https://www.chedong.com/phpMan.php/man/pack200/1/markdown)** into a JAR file. A typical usage follows. In the following example, the
       **myarchive.jar** file is produced from **myarchive.pack.gz** with the default **unpack200** command
       settings.

### unpack200 myarchive.pack.gz myarchive.jar


## OPTIONS
       -Hvalue --deflate-hint=_value_
              Sets the deflation to be **true**, **false**, or **keep** on all entries within a JAR file. The
              default mode is **keep**. If the value is **true** or **false**, then the **--deflate=hint** option
              overrides the default behavior and sets the deflation mode on all entries within the
              output JAR file.

       -r --remove-pack-file
              Removes the input pack file.

       -v --verbose
              Displays minimal messages. Multiple specifications of this option displays more
              verbose messages.

       -q --quiet
              Specifies quiet operation with no messages.

       -lfilename --log-file=_filename_
              Specifies a log file where output messages are logged.

       -? -h --help
              Prints help information about the **unpack200** command.

       -V --version
              Prints version information about the **unpack200** command.

### -J_option_
              Passes option to the Java Virtual Machine, where **option** is one of the options
              described on the reference page for the Java application launcher. For example, **-J-**
              **Xms48m** sets the startup memory to 48 MB. See [java(1)](https://www.chedong.com/phpMan.php/man/java/1/markdown).

## NOTES
       This command should not be confused with the **unpack** command. They are distinctly separate
       products.

       The Java SE API Specification provided with the JDK is the superseding authority in case of
       discrepancies.

## EXIT STATUS
       The following exit values are returned: 0 for successful completion, and a value that is
       greater than 0 when an error occurred.

## SEE ALSO
       • [pack200(1)](https://www.chedong.com/phpMan.php/man/pack200/1/markdown)

       • [jar(1)](https://www.chedong.com/phpMan.php/man/jar/1/markdown)

       • [jarsigner(1)](https://www.chedong.com/phpMan.php/man/jarsigner/1/markdown)

       • Pack200 and Compression at
         <http://docs.oracle.com/javase/8/docs/technotes/guides/deployment/deployment>-
         guide/pack200.html

       • The Java SE Technical Documentation page at <http://docs.oracle.com/javase/>



JDK 8                                     21 November 2013                              [unpack200(1)](https://www.chedong.com/phpMan.php/man/unpack200/1/markdown)
