Re: -Djava.awt.headless=true and Gtk...

Etienne Gagnon <[email protected]> Wed, 03 Aug 2005 10:18:39 -0400
Newsgroups gmane.comp.java.vm.sablevm.general
Message-ID <[email protected]>
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
signature.asc (application/pgp-signature, 256 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC8NJEjyrJi4rH84gRAqUPAJ4qPgVEjcR9vu4jYDHH0lHl7oat/wCdH9Wy
mR2Y8YZtyqWeFr2kN0CaH1E=
=M0fC
-----END PGP SIGNATURE-----