RUN A HEADLESS JAVA SERVER It's common for a Java server to have some kind of graphical element, be it geocoded map generation or graphs and charts. These APIs almost always need to run an X-server so that the Abstract Window Toolkit (AWT) code may be used. However, running an unnecessary X-server is not good network administration. The solution depends on your version of Java. If you're on JDK 1.4, then there's an option you may pass to put yourself on a headless server: -Djava.awt.headless=true For those using JDK 1.3 and before, there's the Pure Java AWT (PJA) Toolkit, available from eTeks. It's a headless Java server that's configured in much the same way as the 1.4 Sun version, via a set of -D property flags. You'll need to download the jars, put them in your classpath, and then set the following flags: Dawt.toolkit=com.eteks.awt.PJAToolkit Djava.awt.graphicsenv=com.eteks.java2d.PJAGraphicsEnvironment With the IBM JDK, you may find you need the following properties where, lib/pja is the location of your PJA jars: Djava.awt.fonts=$JAVA_HOME/jre/lib/fonts Djava2d.font.usePlatformFont=false Duser.home=lib/pja You can download the PJA Toolkit from eTeks' Web site. http://www.eteks.com/pja/en/ ----------------------------------------