- This topic has 2 replies, 2 voices, and was last updated 13 years, 9 months ago by support-swapna.
-
AuthorPosts
-
skidancerParticipantJust trying to build and run the example on Mac OS X. It builds fine, but then it bombs when I try to run it. Can anyone help?
Thanks,
DavidHere is the stack trace:
!SESSION 2011-03-23 18:24:28.029 ———————————————–
eclipse.buildId=unknown
java.version=1.6.0_24
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US
Framework arguments: -application com.example.app.application
Command-line arguments: -application com.example.app.application -data /Users/david/Workspaces/MyEclipse 9/../runtime-com.example.app.application -dev file:/Users/david/Workspaces/MyEclipse 9/.metadata/.plugins/org.eclipse.pde.core/com.example.app.application/dev.properties -os macosx -ws carbon -arch x86 -consoleLog!ENTRY org.eclipse.osgi 4 0 2011-03-23 18:24:31.199
!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:197)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:174)
at org.eclipse.swt.internal.C.<clinit>(C.java:21)
at org.eclipse.swt.widgets.Display.createDisplay(Display.java:1062)
at org.eclipse.swt.widgets.Display.create(Display.java:1056)
at org.eclipse.swt.graphics.Device.<init>(Device.java:125)
at org.eclipse.swt.widgets.Display.<init>(Display.java:827)
at org.eclipse.swt.widgets.Display.<init>(Display.java:818)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:708)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at com.example.app.Application.start(Application.java:18)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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:369)
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:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
!SESSION 2011-03-23 18:24:43.403 ———————————————–
eclipse.buildId=unknown
java.version=1.6.0_24
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US
Framework arguments: -application com.example.app.application
Command-line arguments: -application com.example.app.application -data /Users/david/Workspaces/MyEclipse 9/../runtime-com.example.app.application -dev file:/Users/david/Workspaces/MyEclipse 9/.metadata/.plugins/org.eclipse.pde.core/com.example.app.application/dev.properties -os macosx -ws carbon -arch x86 -consoleLog!ENTRY org.eclipse.osgi 4 0 2011-03-23 18:24:44.769
!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:197)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:174)
at org.eclipse.swt.internal.C.<clinit>(C.java:21)
at org.eclipse.swt.widgets.Display.createDisplay(Display.java:1062)
at org.eclipse.swt.widgets.Display.create(Display.java:1056)
at org.eclipse.swt.graphics.Device.<init>(Device.java:125)
at org.eclipse.swt.widgets.Display.<init>(Display.java:827)
at org.eclipse.swt.widgets.Display.<init>(Display.java:818)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:708)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at com.example.app.Application.start(Application.java:18)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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:369)
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:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
skidancerParticipantThis is vanilla right out of the box.
–David
support-swapnaModeratorDavid,
Can you please have a look at these threads and implement the workarounds discussed?
http://ysasaki600.wordpress.com/2009/09/19/week2-tutorial-for-eclipse-wtp/
http://jira.pentaho.com/browse/PDI-2261
Let me know how this works for you.
-
AuthorPosts