mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
126 lines
4.1 KiB
Groff
126 lines
4.1 KiB
Groff
.\" Copyright (c) 1994, 2019, Oracle and/or its affiliates. All rights reserved.
|
|
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
.\"
|
|
.\" This code is free software; you can redistribute it and/or modify it
|
|
.\" under the terms of the GNU General Public License version 2 only, as
|
|
.\" published by the Free Software Foundation.
|
|
.\"
|
|
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
|
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
.\" version 2 for more details (a copy is included in the LICENSE file that
|
|
.\" accompanied this code).
|
|
.\"
|
|
.\" You should have received a copy of the GNU General Public License version
|
|
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
|
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
.\"
|
|
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
|
.\" or visit www.oracle.com if you need additional information or have any
|
|
.\" questions.
|
|
.\"
|
|
.\" Automatically generated by Pandoc 2.3.1
|
|
.\"
|
|
.TH "UNPACK200" "1" "2018" "JDK 13" "JDK Commands"
|
|
.hy
|
|
.SH NAME
|
|
.PP
|
|
unpack200 \- transform a packed file into a JAR file for web deployment
|
|
.SH SYNOPSIS
|
|
.PP
|
|
\f[CB]unpack200\f[R] [\f[I]options\f[R]] \f[I]input\-file\f[R]
|
|
\f[I]JAR\-file\f[R]
|
|
.TP
|
|
.B \f[I]options\f[R]
|
|
The command\-line options.
|
|
See \f[B]Options for the unpack200 Command\f[R].
|
|
.RS
|
|
.RE
|
|
.TP
|
|
.B \f[I]input\-file\f[R]
|
|
Name of the input file, which can be a \f[CB]pack200\ gzip\f[R] file or a
|
|
\f[CB]pack200\f[R] file.
|
|
The input can also be a JAR file produced by \f[CB]pack200\f[R] with an
|
|
effort of \f[CB]0\f[R], in which case the contents of the input file are
|
|
copied to the output JAR file with the \f[CB]pack200\f[R] marker.
|
|
.RS
|
|
.RE
|
|
.TP
|
|
.B \f[I]JAR\-file\f[R]
|
|
Name of the output JAR file.
|
|
.RS
|
|
.RE
|
|
.SH DESCRIPTION
|
|
.PP
|
|
The \f[CB]unpack200\f[R] command is a native implementation that
|
|
transforms a packed file produced by the \f[CB]pack200\f[R] into a JAR
|
|
file for web deployment.
|
|
An example of typical usage follows.
|
|
In the following example, the \f[CB]myarchive.jar\f[R] file is produced
|
|
from \f[CB]myarchive.pack.gz\f[R] with the default \f[CB]unpack200\f[R]
|
|
command settings.
|
|
.RS
|
|
.PP
|
|
\f[CB]unpack200\ myarchive.pack.gz\ myarchive.jar\f[R]
|
|
.RE
|
|
.SH OPTIONS FOR THE UNPACK200 COMMAND
|
|
.TP
|
|
.B \f[CB]\-H\f[R]\f[I]value\f[R] or \f[CB]\-\-deflate\-hint=\f[R]\f[I]value\f[R]
|
|
Sets the deflation to be \f[CB]true\f[R], \f[CB]false\f[R], or \f[CB]keep\f[R]
|
|
on all entries within a JAR file.
|
|
The default mode is \f[CB]keep\f[R].
|
|
If the value is \f[CB]true\f[R] or \f[CB]false\f[R], then the
|
|
\f[CB]\-\-deflate=hint\f[R] option overrides the default behavior and sets
|
|
the deflation mode on all entries within the output JAR file.
|
|
.RS
|
|
.RE
|
|
.TP
|
|
.B \f[CB]\-r\f[R] or \f[CB]\-\-remove\-pack\-file\f[R]
|
|
Removes the input pack file.
|
|
.RS
|
|
.RE
|
|
.TP
|
|
.B \f[CB]\-v\f[R] or \f[CB]\-\-verbose\f[R]
|
|
Displays minimal messages.
|
|
Multiple specifications of this option displays more verbose messages.
|
|
.RS
|
|
.RE
|
|
.TP
|
|
.B \f[CB]\-q\f[R] or \f[CB]\-\-quiet\f[R]
|
|
Specifies quiet operation with no messages.
|
|
.RS
|
|
.RE
|
|
.TP
|
|
.B \f[CB]\-l\f[R] \f[I]filename\f[R] or \f[CB]\-\-log\-file=\f[R]\f[I]filename\f[R]
|
|
Specifies a log file where output messages are logged.
|
|
.RS
|
|
.RE
|
|
.TP
|
|
.B \f[CB]\-?\f[R] or \f[CB]\-h\f[R] or \f[CB]\-\-help\f[R]
|
|
Prints help information about the \f[CB]unpack200\f[R] command.
|
|
.RS
|
|
.RE
|
|
.TP
|
|
.B \f[CB]\-V\f[R] or \f[CB]\-\-version\f[R]
|
|
Prints version information about the \f[CB]unpack200\f[R] command.
|
|
.RS
|
|
.RE
|
|
.TP
|
|
.B \f[CB]\-J\f[R]\f[I]option\f[R]
|
|
Passes \f[I]option\f[R] to the Java Virtual Machine, where
|
|
\f[CB]option\f[R] is one of the options described on the reference page
|
|
for the Java application launcher.
|
|
For example, \f[CB]\-J\-Xms48m\f[R] sets the startup memory to 48 MB.
|
|
.RS
|
|
.RE
|
|
.SH NOTES
|
|
.PP
|
|
This command shouldn\[aq]t be confused with the \f[CB]unpack\f[R] command.
|
|
They\[aq]re distinctly separate products.
|
|
.PP
|
|
The Java SE API Specification provided with the JDK is the superseding
|
|
authority in case of discrepancies.
|
|
.SH EXIT STATUS
|
|
.PP
|
|
The following exit values are returned: 0 for successful completion, and
|
|
a value that is greater than 0 when an error occurred.
|