Autojar 1.3.1 reviewDownload
Autojar helps creating jar files of minimal size from different inputs like own classes, external archives etc. Autojar library st
Autojar helps creating jar files of minimal size from different inputs like own classes, external archives etc.
Autojar library starts from one or more given classes (e.g., an applet), recursively searches the bytecode for references to other classes, extracts these classes from the input archives, and copies them to the output.
The resulting archive will only contain the classes you really need. Thus you can keep size and loading time of applets low or make applications independent of installed libraries.
In a similar way, autojar can search directories and archives for other resources (like image files), extract them and copy them to the output.
Note that autojar can't know for sure which classes will be loaded dynamically (by Class.forName()). However, starting from version 1.3, you can tell autojar to search the bytecode for invocations of Class.forName() and inform you correspondingly. In some cases autojar actually can find out which classes are to be loaded, and add them automatically to the output
What's New in This Release:
In verbose mode (option -v), autojar outputs a list of archives that are included in the classpath, but never used.
Option -X allows exclusion of file and folder names.
Autojar 1.3.1 keywords