Donnerstag, Dezember 20, 2007

Prevent Java Apps to show up in the Dock

As I found in this blog, you can prevent some java applications from appearing in the dock.
E.g. if you start up tomcat from maven / Eclipse you always get an "ugly" application icon.

You can specify the property 'java.awt.headless=true' on the command line / eclipse wtp execution settings to avoid the icon.

java -Djava.awt.headless=true ...