-Djava.awt.headless=true and Gtk...
Martin Cordova <[email protected]> Wed, 3 Aug 2005 10:10:16 -0400
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, I finally was able to build SableVM and classpath, after upgrading to SuSE 9..3 and installing a lot of Gtk/Gnome stuff. I am running without a graphics environment, and using the flag: -Djava.awt.headless=true But whenever my webapp tries to generate a Chart as PNG (using JFreeChart), the JVM crashes complaining about not finding a GTK Map/Device/Something like that. When using Sun/IBM/Blackdown, all I need to generate charts in memory are the XWindows shared libraries (XOrg Libs in SuSE), using the -Djava.awt.headless=true parameter. Is there a workaround with SableVM and Classpath? Can I avoid installing a graphics environment in my production server? Regards, Martin -- Dinamica - Open source J2EE framework Free, easy and powerful http://www.martincordova.com