[jdom-interest] Enhance performance by generating jar file with -0 option

Wolfgang Hoschek whoschek at lbl.gov
Tue Aug 19 15:37:42 PDT 2003


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.




More information about the jdom-interest mailing list