Problem with Swing application plug-in on Mac OS X [message #453844] |
Mon, 11 April 2005 21:01 |
Harold Mills Messages: 9 Registered: July 2009 |
Junior Member |
|
|
I have an existing Swing application that I want to add plug-in capability
to. The near-term plan is to repackage most of it as an Eclipse
application plug-in (extending the org.eclipse.core.runtime.applications
extension point), and other parts as extensions to new extension points
that that plug-in defines.
This works fine on Windows. I can run my new plug-ins with a subset of the
RCP consisting of the org.eclipse.core.runtime and org.eclipse.osgi
plug-ins, either as an Eclipse application from within Eclipse or after
export. However, I have run into a problem on the Macintosh. When I try to
run my application from within Eclipse, the run fails with the console
message:
2005-04-05 13:33:34.475 java[359] Apple AWT Java VM was loaded on first
thread -- can't start AWT.
The error log for the run indicates that a java.lang.InternalError was
thrown in the native java.lang.ClassLoader$NativeLibrary.load method.
How can I fix this? Googling for the error message text shows that this
error occurs when one tries to use both AWT and SWT in the same
application on the Macintosh, but (as far as I know) this is not what I'm
attempting: my application does not use SWT at all.
I posted the above portion of this message to the RCP newsgroup last week,
and Pascal Rapicault suggested that I try removing -XstartOnFirstThread
from my Eclipse Info.plist. I did this, and it didn't help. I get the same
error message when I try to run my application, besides which the change
seems to make the Eclipse user interface intermittently unresponsive.
Thank you,
Harold Mills
Bioacoustics Research Program
Cornell Lab of Ornithology
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03583 seconds