Java News from Wednesday, January 25, 2006

Bernd Eggink has released Autojar 1.3, a tool that for "creating jar files of minimal size from different inputs like own classes, external archives etc. It 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." However relefection is a problem. Autojar is published under the GPL.

Robert Oloffson has posted version 0.49 of Java Memory Profiler (JMP). JMP uses the Java Virtual Machine Profiling Interface (JVMPI) interface to track objects and method times in a JVM. It uses a GTK+ interface to display statistics. The current instance count and the total amount of memory for each class is shown as is the total time spent in each method. 0.49 fixes bugs. JMP is written in C for Linux.