Pack200, specified in JSR 200[1] (J2SE 1.5), deprecated in JEP 336[2] (Java SE 11) and removed in JEP 367 (Java SE 14),[3] is a compacting archive format developed by Sun, capable of reducing JAR file sizes by up to a factor of 9,[4] with a factor of 3 to 4 seen in practice.[5][6] Pack200 is optimized for compressing JAR archive files, specifically the Java bytecode portion of the JAR files. Applications of this technology include faster Java application deployment over Java Web Start.
After Pack200, gzip compression is usually applied. In HTTP compression, such content is specified by the Content-Encoding type pack200-gzip
. When stored as a file, the extension .pack.gz
is used.[7]
Pack200 may also refer to the Pack200 compression tools (pack200
and unpack200
) provided in the Java Development Kit from Java 5 until Java 14.