You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by Wolfgang Hoschek <wh...@lbl.gov> on 2003/08/20 01:22:47 UTC

Enhance performance by generating jar file with -0 option

Would you consider generating jar files with the -0 option to store 
files in the jar file without using ZIP compression?

Although this typically doubles the jar file size, it increases class 
loading performance (except when used in applets which are presumably 
not that important here). For example the JDK rt.jar is produced that way.

Compatibility: The -0 option was introduced in JDK 1.2

Also see http://java.sun.com/j2se/1.4/docs/tooldocs/solaris/jar.html

Thanks.
Wolfgang.