HI lars,
Thanks for the reply and great tutorials.
I did not going further than where I got stuck until your
recommendation here. After reviewing this, everything looks good from
what I can see.
I did do some more research and got my system running Java 1.6 and all
now I am getting a new error that is troubling me.
Here is the short version, I will post the entire error at the end.
java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-
bit JVM
From what I have found it appears to be a problem with the intel 64bit
Macs not being able to run the 32 bit code. Everything that I found
on this was also quit old and hoped there was a resolution by now.
Do I have to run this with java 1.6 can I use 1.5?
Here seems to be bug that explains the issue. All though this bug
says it is resolved I do not know what that resolution is.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=216051
Error in its entirety
!SESSION 2009-06-01 22:29:24.767
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_07
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US
Framework arguments: -product MyFirstRCP.product
Command-line arguments: -product MyFirstRCP.product -data /Users/
bkatsma/Documents/workspace/../runtime-MyFirstRCP.product -dev file:/
Users/bkatsma/Documents/workspace/.metadata/.plugins/
org.eclipse.pde.core/MyFirstRCP.product/dev.properties -os macosx -ws
carbon -arch x86
!ENTRY org.eclipse.osgi 4 0 2009-06-01 22:29:25.652
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-
bit JVM
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:177)
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:
527)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at myfirstrcp.Application.start(Application.java:18)
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:386)
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:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
!SESSION 2009-06-02 20:29:19.168
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_07
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US
Framework arguments: -product MyFirstRCP.product
Command-line arguments: -product MyFirstRCP.product -data /Users/
bkatsma/Documents/workspace/../runtime-MyFirstRCP.product -dev file:/
Users/bkatsma/Documents/workspace/.metadata/.plugins/
org.eclipse.pde.core/MyFirstRCP.product/dev.properties -os macosx -ws
carbon -arch x86 -consoleLog
!ENTRY org.eclipse.osgi 4 0 2009-06-02 20:29:20.080
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-
bit JVM
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:177)
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:
527)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at myfirstrcp.Application.start(Application.java:18)
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:386)
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:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> did you check your runtime configuration as described here:
http://www.vogella.de/articles/RichClientPlatform/article.html#runcon...
> ?
>
> <
http://www.vogella.de/articles/RichClientPlatform/article.html#runcon...>Best
> regards, Lars
>
> 2009/6/2 Bill <
bkat...@gmail.com>
> Larshttp://www.vogella.de- Tutorial about Java, Eclipse and Web programming