Home : Course Map : Chapter 5 : Java : Supplements :
The pack200 Tool - J2SE5.0
JavaTech
Course Map
Chapter 5
File/Package/Import
  Demo 1
  Demo 2
Access/Visibility
final & Constants
Static Import
Jar Files
  Demo 3
Applet Directories
3rd Party Packages
CLASSPATH
javadoc
CodingConventions
Exercises

    Supplements
Scope
Debug Techniques
Java Runtime
Class Class
JVM Instructions 2
JVM Processing
pack200

     About JavaTech
     Codes List
     Exercises
     Feedback
     References
     Resources
     Tips
     Topic Index
     Course Guide
     What's New

Release 5.0 of Java includes a new hyper-compression format for JAR files known as pack200. It works only on JAR files and is able to compress the size as much as 90% for very dense JAR files.

The pack200 format is well-suited for slow networks and fast computers or for very large JAR files. For example, use of the pack200 format is estimated to save 12 terabytes per week of downloads at java.sun.com.

The pack200 tool creates a .pack file and the unpack200 tool unpacks a .pack file into a JAR file. Both tools accept several options, but here is a quick example of usage.

  pack200 -g name.pack name.jar

creates the highly compressed name.pack file from the name.jar file. Conversely,

  unpack200 name.pack name.jar

unpacks the packed file into a JAR file.

References and Web Resources

            Tech
DecimalFormat
  Demo 1
  Demo 2

System.out.printf
  Demo 3
CJ Format Class
  Demo 4   Demo 5
Other Format Tools

Immutable Complex
Exercises

           Physics
Interpolation
Integration
  Demo 1
Simpson Rule
  Demo 2
Exercises

  Part I Part II Part III
Java Core 1  2  3  4  5  6  7  8  9  10  11  12 13 14 15 16 17
18 19 20
21
22 23 24
Supplements

1  2  3  4  5  6  7  8  9  10  11  12

Tech 1  2  3  4  5  6  7  8  9  10  11  12
Physics 1  2  3  4  5  6  7  8  9  10  11  12

Java is a trademark of Sun Microsystems, Inc.