.'" t ." ." Copyright 2004-2006 Sun Microsystems, Inc. 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. ." ." ` pack200 - Online Linux Manual PageSection : 1
Updated : 05 Aug 2006
." Generated by html2roff
NAMEpack200 − JAR Packing tool
SYNOPSIS\f4pack200\fP\f2 [ \fP\f2options\fP ] \f2output\-file\fP \f2JAR\-file\fP Options may be in any order. The last option on the command line or in a properties file supersedes all previously specified options. options Command−line options. output−file Name of the output file. JAR−file Name of the input file.
DESCRIPTIONThe pack200 tool is a Java application that transforms a JAR file into a compressed pack200 file using the Java gzip compressor. The pack200 files are highly compressed files that can be directly deployed, saving bandwidth and reducing download time. The pack200 tool uses several options to fine−tune and set the compression engine.
Typical usage: % pack200 myarchive.pack.gz myarchive.jar In this example, myarchive.pack.gz is produced using the default pack200 settings.
OPTIONS\f4\-r \-\-repack\fP Produces a JAR file by packing the file myarchive.jar and unpacking it. The resulting file can be used as an input to the jarsigner(1) tool. % pack200 −−repack myarchive−packer.jar myarchive.jar % pack200 −−repack myarchive.jar \f4\-g \-\-no\-gzip\fP Produces a pack200 file. With this option a suitable compressor must be used, and the target system must use a corresponding decompresser. % pack200 −−no−gzip myarchive.pack myarchive.jar \f4\-G \-\-strip\-debug\fP Strips attributes used for debugging from the output. These include SourceFile, LineNumberTable, LocalVariableTable and LocalVariableTypeTable. Removing these attributes reduces the size of both downloads and installations but reduces the usefulness of debuggers. \f4\-O \-\-no\-keep\-file\-order\fP The packer will reorder and transmit all elements. Additionally, the packer may remove JAR directory names. This will reduce the download size; however, certain JAR file optimizations, such as indexing, may not work correctly. \f4\-Svalue \-\-segment\-limit=\fP\f2value\fP The value is the estimated target size N (in bytes) of each archive segment. If a single input file requires
more than N bytes, it will be given its own archive segment. As a special case, a value of −1 will produce a single large segment with all input files, while a value of 0 will produce one segment for each class. Larger archive segments result in less fragmentation and better compression, but processing them requires more memory. The size of each segment is estimated by counting the size of each input file to be transmitted in the segment, along with the size of its name and other transmitted properties. The default is 1000000 (a million bytes). This allows input JAR files of moderate size to be transmitted in one segment. It also puts a limit on memory requirements for packers and unpackers. A 10MB JAR packed without this limit will typically pack about 10% smaller, but the packer may require a larger Java heap (about ten times the segment limit). \f4\-Evalue \-\-effort=\fP\f2value\fP If the value is set to a single decimal digit, the packer will use the indicated amount of effort in compressing the archive. Level 1 may produce somewhat larger size and faster compression speed, while level 9 will take much longer but may produce better compression. The special value 0 instructs the packer to copy through the original JAR file directly with no compression. The JSR 200 standard requires any unpacker to understand this special case as a pass−through of the entire archive. The default is 5, investing a modest amount of time to produce reasonable compression. \f4\-Hvalue \-\-deflate\-hint=\fP\f2value\fP Overrides the default, which preserves the input information, but may cause the transmitted archive to be larger. The possible values are: true false In either case, the packer will set the deflation hint accordingly in the output archive, and will not transmit the individual deflation hints of archive elements. keep Preserve deflation hints observed in the input JAR. (This is the default.) \f4\-mvalue \-\-modification\-time=\fP\f2value\fP The possible values are: latest The packer will attempt to determine the latest modification time, among all the available entries in the original archive, or the latest modification time of all the available entries in that segment. This single value will be transmitted as part of the segment and applied to all the entries in each segment. This can marginally decrease the transmitted size of the archive at the expense of setting all installed files to a single date. keep Preserves modification times observed in the input JAR. (This is the default.) \f4\-Pfile \-\-pass\-file=\fP\f2file\fP Indicates that a file should be passed through bytewise with no compression. By repeating the option, multiple files may be specified. There is no pathname transformation, except that the system file separator is replaced by the JAR file separator "/". The resulting file names must match exactly as strings with their occurrences in the JAR file. If file is a directory name, all files under that directory will be passed. \f4\-Uaction \-\-unknown\-attribute=\fP\f2action\fP Overrides the default behavior; i.e., the classfile containing the unknown attribute will be passed through with the specified action. The possible values for actions are: error The pack200 operation as a whole will fail with a suitable explanation. strip The attribute will be dropped. Note: Removing the required VM attributes may cause Class Loader failures. pass Upon encountering this attribute, the entire class will be transmitted as though it is a resource. \f4\-Cattribute\-name=\fP\f2layout\fP \f3\-\-class\-attribute=\fP\f2attribute\-name=action\fP
\f4\-Fattribute\-name=\fP\f2layout\fP \f3\-\-field\-attribute=\fP\f2attribute\-name=action\fP
\f4\-Mattribute\-name=\fP\f2layout\fP \f3\-\-method\-attribute=\fP\f2attribute\-name=action\fP
\f4\-Dattribute\-name=\fP\f2layout\fP \f3\-\-code\-attribute=\fP\f2attribute\-name=action\fP With the above four options, the attribute layout can be specified for a class entity, such as Class attribute, Field attribute, Method attribute, and Code attribute. The attribute−name is the name of the attribute for which the layout or action is being defined. The possible values for action are: some−layout−string The layout language is defined in the JSR 200 specification. Example: −−class−attribute=SourceFile=RUH error Upon encountering this attribute, the pack200 operation will fail with a suitable explanation. strip Upon encountering this attribute, the attribute will be removed from the output. Note: removing VM−required attributes may cause Class Loader failures. Example: −−class−attribute=CompilationID=pass will cause the class file containing this attribute to be passed through without further action by the packer. \f4\-f\fP\f2 \fP\f2pack.properties\fP \f3\-\-config\-file=\fP\f2pack.properties\fP A configuration file, containing Java properties to initialize the packer, may be specified on the command line. % pack200 −f pack.properties myarchive.pack.gz myarchive.jar
% more pack.properties
# Generic properties for the packer.
modification.time=latest
deflate.hint=false
keep.file.order=false
# This option will cause the files bearing new attributes to
# be reported as an error rather than passed uncompressed.
unknown.attribute=error
# Change the segment limit to be unlimited.
segment.limit=−1 \f4\-v \-\-verbose\fP Outputs minimal messages. Multiple specification of this option will output more verbose messages. \f4\-q \-\-quiet\fP Specifies quiet operation with no messages. \f4\-lfilename \-\-log\-file=\fP\f2filename\fP Specifies a log file to output messages. \f4\-Joption\fP Passes option to the Java launcher called by pack200. For example, −J−Xms48m sets the startup memory to 48 megabytes. Although it does not begin with −X, it is not a standard option of pack200. It is a common convention for −J to pass options to the underlying VM executing applications written in Java.
EXIT STATUSThe following exit values are returned: 0 for successful completion; >0 if an error occurs.
SEE ALSO* unpack200 − JAR Unpacking Tool * unpack200(1), jar(1), jarsigner(1), attributes(5) man pages * Java SE Documentation * Java Deployment Guide − Pack200 @ .fi http://java.sun.com/javase/6/docs/technotes/guides/deployment/deployment−guide/pack200.html * jar − Java Archive Tool * jarsigner − JAR Signer tool @ .fi http://java.sun.com/javase/6/docs/technotes/tools/solaris/jarsigner.html
NOTESThis command should not be confused with pack(1). They are distinctly separate products. The Java SE API Specification provided with the SDK is the superseding authority, in case of discrepancies. 0
Johanes Gumabo
Data Size : 42,874 byte
man-pack200-java-1.6.0-openjdk.1Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 179,960
Visitor ID : :
Visitor IP : 3.145.51.35 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|249|pack200-java-1.6.0-openjdk.1|1|'"|.'" t
) (parse_manual_page_|249|pack200-java-1.6.0-openjdk.1|2|"|."
) (parse_manual_page_|249|pack200-java-1.6.0-openjdk.1|3|"|." Copyright 2004-2006 Sun Microsystems, Inc. All Rights Reserved.
) (parse_manual_page_|249|pack200-java-1.6.0-openjdk.1|4|"|." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
) (parse_manual_page_|249|pack200-java-1.6.0-openjdk.1|5|"|."
) (parse_manual_page_|249|pack200-java-1.6.0-openjdk.1|6|"|." This code is free software; you can redistribute it and/or modify it
) (parse_manual_page_|249|pack200-java-1.6.0-openjdk.1|7|"|." under the terms of the GNU General Public License version 2 only, as
) (parse_manual_page_|249|pack200-java-1.6.0-openjdk.1|8|"|." published by the Free Software Foundation.
) (parse_manual_page_|249|pack200-java-1.6.0-openjdk.1|9|"|."
) (parse_manual_page_|249|pack200-java-1.6.0-openjdk.1|10|"|." This code is distributed in the hope that it will be useful, but WITHOUT
) (parse_manual_page_|249|pack200-java-1.6.0-openjdk.1|11|"|." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
) (parse_manual_page_|249|pack200-java-1.6.0-openjdk.1|12|"|." FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
) (parse_manual_page_|249|pack200-java-1.6.0-openjdk.1|13|"|." version 2 for more details (a copy is included in the LICENSE file that
) (parse_manual_page_|249|pack200-java-1.6.0-openjdk.1|14|"|." accompanied this code).
) (parse_manual_page_|249|pack200-java-1.6.0-openjdk.1|15|"|."
) (parse_manual_page_|249|pack200-java-1.6.0-openjdk.1|16|"|." You should have received a copy of the GNU General Public License version
) (parse_manual_page_|249|pack200-java-1.6.0-openjdk.1|17|"|." 2 along with this work; if not, write to the Free Software Foundation,
) (parse_manual_page_|249|pack200-java-1.6.0-openjdk.1|18|"|." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
) (parse_manual_page_|249|pack200-java-1.6.0-openjdk.1|19|"|."
) (parse_manual_page_|249|pack200-java-1.6.0-openjdk.1|20|"|." Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
) (parse_manual_page_|249|pack200-java-1.6.0-openjdk.1|21|"|." or visit www.oracle.com if you need additional information or have any
) (parse_manual_page_|249|pack200-java-1.6.0-openjdk.1|22|"|." questions.
) (parse_manual_page_|249|pack200-java-1.6.0-openjdk.1|23|"|."
) (parse_manual_page_|249|pack200-java-1.6.0-openjdk.1|24|"|." `
) (parse_manual_page_|249|pack200-java-1.6.0-openjdk.1|26|"|." Generated by html2roff
) (rof_escape_sequence|91|pack200-java-1.6.0-openjdk.1|37|\f4pack200\fP\f2 [ \fP\f2options\fP ] \f2output\-file\fP \f2JAR\-file\fP |\f4pack200\fP\f2 [ \fP\f2options\fP ] \f2output\-file\fP \f2JAR\-file\fP
) (rof_escape_sequence|91|pack200-java-1.6.0-openjdk.1|82|\f4\-r \-\-repack\fP |\f4\-r \-\-repack\fP
) (rof_escape_sequence|91|pack200-java-1.6.0-openjdk.1|102|\f4\-g \-\-no\-gzip\fP |\f4\-g \-\-no\-gzip\fP
) (rof_escape_sequence|91|pack200-java-1.6.0-openjdk.1|119|\f4\-G \-\-strip\-debug\fP |\f4\-G \-\-strip\-debug\fP
) (rof_escape_sequence|91|pack200-java-1.6.0-openjdk.1|129|\f4\-O \-\-no\-keep\-file\-order\fP |\f4\-O \-\-no\-keep\-file\-order\fP
) (rof_escape_sequence|91|pack200-java-1.6.0-openjdk.1|139|\f4\-Svalue \-\-segment\-limit=\fP\f2value\fP |\f4\-Svalue \-\-segment\-limit=\fP\f2value\fP
) (rof_escape_sequence|91|pack200-java-1.6.0-openjdk.1|160|\f4\-Evalue \-\-effort=\fP\f2value\fP |\f4\-Evalue \-\-effort=\fP\f2value\fP
) (rof_escape_sequence|91|pack200-java-1.6.0-openjdk.1|173|\f4\-Hvalue \-\-deflate\-hint=\fP\f2value\fP |\f4\-Hvalue \-\-deflate\-hint=\fP\f2value\fP
) (rof_escape_sequence|91|pack200-java-1.6.0-openjdk.1|193|\f4\-mvalue \-\-modification\-time=\fP\f2value\fP |\f4\-mvalue \-\-modification\-time=\fP\f2value\fP
) (rof_escape_sequence|91|pack200-java-1.6.0-openjdk.1|210|\f4\-Pfile \-\-pass\-file=\fP\f2file\fP |\f4\-Pfile \-\-pass\-file=\fP\f2file\fP
) (rof_escape_sequence|91|pack200-java-1.6.0-openjdk.1|220|\f4\-Uaction \-\-unknown\-attribute=\fP\f2action\fP |\f4\-Uaction \-\-unknown\-attribute=\fP\f2action\fP
) (rof_escape_sequence|91|pack200-java-1.6.0-openjdk.1|240|\f4\-Cattribute\-name=\fP\f2layout\fP \f3\-\-class\-attribute=\fP\f2attribute\-name=action\fP |\f4\-Cattribute\-name=\fP\f2layout\fP \f3\-\-class\-attribute=\fP\f2attribute\-name=action\fP
) (rof_escape_sequence|91|pack200-java-1.6.0-openjdk.1|242|\f4\-Fattribute\-name=\fP\f2layout\fP \f3\-\-field\-attribute=\fP\f2attribute\-name=action\fP | \f4\-Fattribute\-name=\fP\f2layout\fP \f3\-\-field\-attribute=\fP\f2attribute\-name=action\fP
) (rof_escape_sequence|91|pack200-java-1.6.0-openjdk.1|244|\f4\-Mattribute\-name=\fP\f2layout\fP \f3\-\-method\-attribute=\fP\f2attribute\-name=action\fP | \f4\-Mattribute\-name=\fP\f2layout\fP \f3\-\-method\-attribute=\fP\f2attribute\-name=action\fP
) (rof_escape_sequence|91|pack200-java-1.6.0-openjdk.1|246|\f4\-Dattribute\-name=\fP\f2layout\fP \f3\-\-code\-attribute=\fP\f2attribute\-name=action\fP | \f4\-Dattribute\-name=\fP\f2layout\fP \f3\-\-code\-attribute=\fP\f2attribute\-name=action\fP
) (rof_escape_sequence|91|pack200-java-1.6.0-openjdk.1|271|\f4\-f\fP\f2 \fP\f2pack.properties\fP \f3\-\-config\-file=\fP\f2pack.properties\fP |\f4\-f\fP\f2 \fP\f2pack.properties\fP \f3\-\-config\-file=\fP\f2pack.properties\fP
) (rof_escape_sequence|91|pack200-java-1.6.0-openjdk.1|311|\f4\-v \-\-verbose\fP |\f4\-v \-\-verbose\fP
) (rof_escape_sequence|91|pack200-java-1.6.0-openjdk.1|321|\f4\-q \-\-quiet\fP |\f4\-q \-\-quiet\fP
) (rof_escape_sequence|91|pack200-java-1.6.0-openjdk.1|331|\f4\-lfilename \-\-log\-file=\fP\f2filename\fP |\f4\-lfilename \-\-log\-file=\fP\f2filename\fP
) (rof_escape_sequence|91|pack200-java-1.6.0-openjdk.1|341|\f4\-Joption\fP |\f4\-Joption\fP
) (rof_fi|19|pack200-java-1.6.0-openjdk.1|384|1|.fi
) (rof_fi|19|pack200-java-1.6.0-openjdk.1|393|1|.fi
)