The plugin used to work fine on Tiger (since several months).
I cannot use it anymore on my Mac since I updated to Leopard (I got
exactly the same error message) :(
Daniel
Jens v. P. a écrit :
Hi,
I have updated from Mac OS X 10.4.10 to 10.5 and this broke my Eclipse
Plugin. It is the old SWT/AWT problem, but this time the plugin *was*
already working with Tiger!
Brief description: Simply download the plugin via Eclipse update
mechanism using the update site above. Only the main LWJGL stuff is
required. After installing the plugin, you will find a new view
"Window/Show View/Other/LWJGL Test View". That's it. This view was
(and should still work) working with Mac OS X 10.4 but doesn't with
Mac OS X 10.5.
I know there's that old SWT-AWT-bridge problem within Eclipse and OS X
since Cocoa and Carbon applications cannot be mixed. So AWT will not
work within SWT/Eclipse. That's ok, because LWJGL doesn't really use
AWT, only the AWT toolkit is loaded on startup, i.e.
Toolkit.getDefaultToolkit()
is called. This method worked fine with Tiger and it *still does* if
the plugin is activated within a second Eclipse instance, e.g. by
starting a runtime instance in run or debug mode from within Eclipse.
When Eclipse (and the plugin) is started from the Finder,
the following message occurs:
Unhandled event loop exception
Can't start the AWT because Java was started on the first thread.
Make sure StartOnFirstThread is not specified in your application's
Info.plist or on the command line
But (again): The very same plugin worked with Tiger and still does
under certain circumstances with Leopard. So it is clearly the latest
Java version shipped with Leopard (1.5.0_13) which causes the problem.
I explicitly choose LWJGL since this library was working with Eclipse
and Mac OS X!
Is there a known workaround, VM property, or something else?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden