starting Eclipse on Darwin with OpenJDK

Dalibor Topic Dalibor.Topic at Sun.COM
Mon Sep 15 03:29:04 PDT 2008


David Green wrote:

Hi David,

the list you're looking for is bsd-port-dev - available at
http://mail.openjdk.java.net/mailman/listinfo/bsd-port-dev .
I've cc:ed your post to that list, you'll need to subscribe to post
though, if you haven't yet.

cheers,
dalibor topic

> 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)
>


-- 
*******************************************************************
Dalibor Topic                   Tel: (+49 40) 23 646 738
Java F/OSS Ambassador           AIM: robiladonaim
Sun Microsystems GmbH           Mobile: (+49 177) 2664 192
Nagelsweg 55                    http://openjdk.java.net
D-20097 Hamburg                 mailto:Dalibor.Topic at sun.com
Sitz der Gesellschaft: Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht München: HRB 161028
Geschäftsführer: Thomas Schröder, Wolfgang Engels, Dr. Roland Bömer
Vorsitzender des Aufsichtsrates: Martin Häring





More information about the porters-dev mailing list