Re: -Djava.awt.headless=true and Gtk...
Martin Cordova <[email protected]> Wed, 3 Aug 2005 10:22:36 -0400
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Message-ID | <[email protected]> |
Thank you, in the meantime, I found via google some mesages from that List archives, about this feature (headless support), It was incorporated in April 2005. I still can't understand the requirement for Gtk, since JDK 1.4 on Linux relies on basic X11 libraries. I will follow your advice. I also used JamVM with the latest Classpath release, got the same problem. Regards, Martin On 8/3/05, Etienne Gagnon <[email protected]> wrote: > Hi Martin, > > SableVM uses GNU Classpath for its class libraries. I am not a specialist > of GNU Classpath and its AWT code. Maybe someone else on this list knows > more about this code, but you might want to also ask for help on the GNU > Classpath mailing list: > > http://lists.gnu.org/mailman/listinfo/classpath > > The developers of the AWT code are subscribed to that list. > > Hoping this helps. :-) > > Etienne > > Martin Cordova wrote: > > 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? > > -- > Etienne M. Gagnon, Ph.D. http://www.info2.uqam.ca/~egagnon/ > SableVM: http://www.sablevm.org/ > SableCC: http://www.sablecc.org/ > > > _______________________________________________ > SableVM-user mailing list > [email protected] > http://sablevm.org/lists/control/listinfo/sablevm-user > > > > -- Dinamica - Open source J2EE framework Free, easy and powerful http://www.martincordova.com