starting Eclipse on Darwin with OpenJDK

David Green dgreen99 at gmail.com
Thu Aug 21 13:43:36 PDT 2008


In the past I've had success launching Eclipse using
SoyLatte<http://greensopinion.blogspot.com/2008/08/eclipse-ganymede-on-soylatte.html>
.
With Landon Fuller's recent announcement of OpenJDK on Darwin and Mac I
downloaded the OpenJDK binaries posted
here<http://landonf.bikemonkey.org/code/java/OpenJDK_7_Binaries.20080820.html>.
 Unfortunately the SWT libraries fail to load.
Is there a problem with JNI on Mac OS X?  Following is the error message
that I saw:

!SESSION 2008-08-21 13:22:33.593
-----------------------------------------------
eclipse.buildId=I20080617-2000
java.version=1.7.0-internal
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_CA
Framework arguments:  -keyring /Users/dgreen/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws carbon -arch x86 -data
/Users/dgreen/Documents/workspace-mylyn.wikitext -keyring
/Users/dgreen/.eclipse_keyring -consoleLog -showlocation

!ENTRY org.eclipse.osgi 4 0 2008-08-21 13:22:34.891
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: no swt-carbon-3448 or swt-carbon in
swt.library.path, java.library.path or the jar file
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:233)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:151)
        at org.eclipse.swt.internal.C.<clinit>(C.java:21)
        at org.eclipse.swt.widgets.Display.createDisplay(Display.java:972)
        at org.eclipse.swt.widgets.Display.create(Display.java:966)
        at org.eclipse.swt.graphics.Device.<init>(Device.java:124)
        at org.eclipse.swt.widgets.Display.<init>(Display.java:774)
        at org.eclipse.swt.widgets.Display.<init>(Display.java:765)
        at
org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:525)
        at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
        at
org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:143)
        at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:88)
        at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
        at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:623)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/porters-dev/attachments/20080821/3a570c62/attachment.html 


More information about the porters-dev mailing list