pack200.1 revision 12442:aa8e52dfeee9
t
Copyright (c) 2004, 2014, 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.

Title: pack200
Language: Japanese
Date: 2013��11��21��
SectDesc: Java����������������������
Software: JDK 8
Arch: ����
Part Number: E58103-01
Doc ID: JSSON

"pack200" "1" "2013��11��21��" "JDK 8" "Java����������������������"
-----------------------------------------------------------------
* Define some portability stuff
-----------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://bugs.debian.org/507673
http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----------------------------------------------------------------
* set default formatting
-----------------------------------------------------------------
disable hyphenation
disable justification (adjust text to left margin only)
-----------------------------------------------------------------
* MAIN CONTENT STARTS HERE *
-----------------------------------------------------------------
"����"
pack200 - Web����������������������JAR����������pack200��������������������������������
"����"

.\}

pack200 [options] output-file JAR-file
.\}

������������������������������������������������������properties������������������������������������������������������������������������������������������������

options

����������������������������������������������������

output-file

��������������������

JAR-file

��������������������

"����"

pack200������������Java gzip����������������������JAR����������pack200����������������������Java����������������������pack200������������������������������������������������������������������������������������������������

pack200��������������������������������������������������������������������������������������������������������myarchive.pack.gz��������������pack200����������������������������

.\}

pack200 myarchive.pack.gz myarchive.jar
 
.\}
"����������"

-r

--repack

JAR��������������������������������������JAR������������������������������������������jarsigner(1)����������������������������������������������������myarchive.jar������������������������������������������

.\}

pack200 --repack myarchive-packer.jar myarchive.jar
pack200 --repack myarchive.jar
 
.\} ��������������������������������������������������������

-g

--no-gzip

pack200��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������

.\}

pack200 --no-gzip myarchive.pack myarchive.jar
 
.\}

-G

--strip-debug

��������������������������������������������SourceFile��LineNumberTable��LocalVariableTable��LocalVariableTypeTable����������������������������������������������������������������������������������������������������������������������������

--keep-file-order

��������������������������������������������������������������������������

-O

--no-keep-file-order

������������������������������������������������������������������������JAR������������������������������������������������������������������������������������������������������JAR����������������������������������������������������������

-Svalue

--segment-limit=value

����������������������������������������������������������N (����������)��������������������������������������N��������������������������������������������������������������������������������������-1��������������������������������������������������������������������������0����������������������������������1������������������������������������������������������������������������������������������������������������������������������������������ ������������������������������������������������������������������������������������������������������������������������������������������������������ ������������-1������������������������������������������������������������������������������������������������������������������������������������������������(����)��������������JAR������������������������������ ������������������������10 MB��JAR��������������������������10%��������������������������������������������������������Java������(��������������������10��)����������������������������

-Evalue

--effort=value

������10����������������������������������������������������������������������������������������1��������������������������������������������������������������������������9����������������������������������������������������������������������������������������0������������������pack200��������������JAR��������������������������������������JSR 200�������������������������������������������������������������������������������������������������������������� ������������5������������������������������������������������������

-Hvalue

--deflate-hint=value

������������������������������������������������������������������������������������������������������������������������������������true��false������keep������ value��true������false��������packer200���������������������������������������������������������������������������������������������������������������������������������������� keep����������JAR����������������������������������������������������������������������

-mvalue

--modification-time=value

��������������latest��keep������ ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������� ����keep������������JAR����������������������������������������������������������

-Pfile

--pass-file=file

��������������������������������������������������������������������������������������������������������������������������������������������������������JAR��������������������������������(/)��������������������������������������������������������������������������������������������������������JAR����������������������������������������������file������������������������������������������������������������������������������������

-Uaction

--unknown-attribute=action

��������������������������������������������������������������������������������������������action����������������������������������������������������error��strip������pass������ ����error��������pack200���������������������������������������������������� ����strip����������������������������Java Virtual Machine (JVM)���������������������������������������������������������������������� ����pass��������������������1��������������������������������

-Cattribute-name=layout

--class-attribute=attribute-name=action

����������������������������������

-Fattribute-name=layout

--field-attribute=attribute-name=action

����������������������������������

-Mattribute-name=layout

--method-attribute=attribute-name=action

����������������������������������

-Dattribute-name=layout

--code-attribute=attribute-name=action

������4������������������������������������������class-attribute��field-attribute��method-attribute������code-attribute��������������������������������������attribute-name��������������������������������������������������������������������������action����������������������some-layout-string��error��strip��pass������ some-layout-string: ����������������JSR 200��������������������������: --class-attribute=SourceFile=RUH�� ����error��������pack200���������������������������������� ����strip������������������������������������VM������������������������������������������������������������������������������--class-attribute=CompilationID=pass���������������������������������������������������������������������������������������������������� ����pass��������������������1��������������������������������

-f pack.properties

--config-file=pack.properties

����������������������������������������������Java����������������������������������������������������

.\}

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
 
.\}

-v

--verbose

��������������������������������������������������������������������������������������������������

-q

--quiet

������������������������������������������������

-lfilename

--log-file=filename

��������������������������������������������

-?

-h

--help

��������������������������������������������

-V

--version

������������������������������������������������

-Joption

����������������������Java Virtual Machine��������������������java(1)������������������������������������������������������������-J-Xms48m����������������������������������������48MB����������������

"��������������"

����������������������: ����������������0������������������������0��������������

"����"

��������������pack(1)������������������������pack������pack200����������������������������

JDK����������Java SE API����������������������������������������������������������

"��������"

\h'-04'\(bu\h'+03'\c .\}

\(bu 2.3
.\} unpack200(1)

\h'-04'\(bu\h'+03'\c .\}

\(bu 2.3
.\} jar(1)

\h'-04'\(bu\h'+03'\c .\}

\(bu 2.3
.\} jarsigner(1)

'pl 8.5i 'bp