Feasibility question

David Herron david at davidherron.com
Wed Feb 10 10:50:48 PST 2010

A thought -- Use the AWT headless toolkit and that is supposed to turn off
any on-screen GUI stuff.  But it would mean ensuring the 3D stuff you create
would be done via other means than the AWT infrastructure.

IIRC There are other things which will trigger AWT into action.  Using the
headless toolkit will cause the system to instead throw exceptions that will
tell you which methods are safe or not.  You can also inspect methods and
classes to see which throw HeadlessException and which don't.

- David Herron

On Wed, Feb 10, 2010 at 9:43 AM, Joshua Marinacci <joshua at marinacci.org>wrote:

> Hi guys. I was wondering if anyone has tried the following, or has thoughts
> on how difficult it would be to implement.
> Would it be possible to run OpenJDK on Mac OSX outside of the X11 layer
> provided the app only opened a JOGL window rather than an AWT or Swing
> window?  Would just not opening a JFrame do it or are there other things
> hidden in the runtime which would trigger the AWT layer, and therefore
> require X11?
> My end goal is to write a 3D game that can have the JRE distributed with
> the app.
> Thanks,
>        Josh
> _______________
> Josh Marinacci
> JoshOnDesign.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20100210/f29dcf1f/attachment.html 

More information about the bsd-port-dev mailing list