This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Headless AWT
- From: Juerg Lehni <juerg at scratchdisk dot com>
- To: java at gcc dot gnu dot org
- Date: Mon, 29 May 2006 12:00:48 +0200
- Subject: Headless AWT
Coming from the Sun JVM, I was wondering if there is a possibility to
use various AWT functionalities (Graphics2D, ImageIO, etc) without
the need for an AWT peer on GCJ? On the Sun JVM, this is possible by
specifying -Djava.awt.headless=true.
It seems on OS X the only way to get this funcitonality is by
compiling it with Gtk or xlib. Would such an application run without
X11 as long as no Windows would be displayed?
Jürg