Java News from Wednesday, January 5, 2005

I've written a short article on the Cafes about open source usability and its connection to practical freedom.

So far nobody's come up with a fool-proof way for a Jar file to know whether it's been launched by double clicking or by running "java -jar filename.jar," though there've been some inspired hacks. The suggestions so far involve various hacks with or checking various system properties. So far these don't work across different platforms and VMs. The closest yet is a proposal to bring up a GUI regardless of how the VM was launched, and only fallback to the command line interface if that fails. However, that's not quite what I asked for. Any other ideas?

Gaudenz Alder has released JGraph 5.3, a free-as-in-speech (GPL/MPL) graph component for Swing that requires Java 1.4 or later. JGraph is accompanied by Graphpad, an open-source diagram editor for Swing that offers Automatic Layout, Printing, Zoom, and much more. It is available in English, German and French. Version 5.3 adds helper methods to the layout cache and graph model, fixes various bugs, and improves performance.

YourKit, LLC has posted the second public beta of YourKit Java Profiler 4.0, a 295€ payware tool for detecting memory leaks and memory consumption bottlenecks. It features Automation of memory leak detection, an object heap browser, JUnit integration, IntelliJ IDEA, Borland JBuilder integration. Version 4.0 adds support for Mac OS X and simplifies analysis of custom class loaders and the classes they load.