| Re: [ohf-dev] problems launching stem.ui |
Hi John, thanks for your help. I solved the SWT-Proplem a step further by importing: org.eclipse.swt org.eclipse.swt.carbon.macosx running the examples in: org.eclipse.swt.examples worked fine, so I'm confident reagrding this bundle. However, I still become errors when trying to run "stem.product" of the "..stem.ui" package. I understand that there's something wrong with the .classvariable of SWT but I can't quite figure it out yet. Any help appreciated. Error logs attached. On Jun 12, 2007, at 10:48 PM, John Thomas wrote:
Vincent David MPI DS Mail: vincent@xxxxxxxxxxxxx Phone: +49 551 5176 415 Fax: +49 551 5176 439 Cell:+49 163 7768977 !SESSION 2007-06-12 18:39:26.844 ----------------------------------------------- eclipse.buildId=unknown java.version=1.5.0_07 java.vendor=Apple Computer, Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US Framework arguments: -product org.eclipse.ohf.stem.ui.product Command-line arguments: -product org.eclipse.ohf.stem.ui.product -data /Users/vincent/Documents/STEM/../runtime-stem.product -dev file:/Users/vincent/Documents/STEM/.metadata/.plugins/org.eclipse.pde.core/stem.product/dev.properties -os macosx -ws carbon -arch x86 -debug -consoleLog !ENTRY org.eclipse.osgi 2 0 2007-06-12 18:39:29.420 !MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists: !SUBENTRY 1 org.eclipse.osgi 2 0 2007-06-12 18:39:29.421 !MESSAGE Bundle update@plugins/org.eclipse.jdt.compiler.apt_1.0.0.v20070510-2000.jar [369] was not resolved. !SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2007-06-12 18:39:29.421 !MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0. !SUBENTRY 1 org.eclipse.osgi 2 0 2007-06-12 18:39:29.421 !MESSAGE Bundle update@plugins/org.eclipse.jdt.compiler.tool_1.0.0.v_770.jar [370] was not resolved. !SUBENTRY 2 org.eclipse.jdt.compiler.tool 2 0 2007-06-12 18:39:29.422 !MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.6 !ENTRY org.eclipse.osgi 4 0 2007-06-12 18:39:29.536 !MESSAGE Application error !STACK 1 java.lang.UnsatisfiedLinkError: no swt-carbon-3345 or swt-carbon in swt.library.path, java.library.path or the jar file at org.eclipse.swt.internal.Library.loadLibrary(Library.java:219) 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:943) at org.eclipse.swt.widgets.Display.create(Display.java:937) at org.eclipse.swt.graphics.Device.<init>(Device.java:119) at org.eclipse.swt.widgets.Display.<init>(Display.java:749) at org.eclipse.swt.widgets.Display.<init>(Display.java:740) at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:498) at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161) at org.eclipse.ohf.stem.core.common.presentation.CoreEditorAdvisor$Application.start(CoreEditorAdvisor.java:109) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) 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:585) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443) at org.eclipse.equinox.launcher.Main.run(Main.java:1169) at org.eclipse.equinox.launcher.Main.main(Main.java:1144) !ENTRY org.eclipse.osgi 2 0 2007-06-12 18:39:29.545 !MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists: !SUBENTRY 1 org.eclipse.osgi 2 0 2007-06-12 18:39:29.545 !MESSAGE Bundle update@plugins/org.eclipse.jdt.compiler.apt_1.0.0.v20070510-2000.jar [369] was not resolved. !SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2007-06-12 18:39:29.546 !MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0. !SUBENTRY 1 org.eclipse.osgi 2 0 2007-06-12 18:39:29.546 !MESSAGE Bundle update@plugins/org.eclipse.jdt.compiler.tool_1.0.0.v_770.jar [370] was not resolved. !SUBENTRY 2 org.eclipse.jdt.compiler.tool 2 0 2007-06-12 18:39:29.547 !MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.6 !SESSION 2007-06-12 18:50:22.200 ----------------------------------------------- eclipse.buildId=unknown java.version=1.5.0_07 java.vendor=Apple Computer, Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US Framework arguments: -product org.eclipse.ohf.stem.ui.product Command-line arguments: -product org.eclipse.ohf.stem.ui.product -data /Users/vincent/Documents/STEM/../runtime-stem.product -dev file:/Users/vincent/Documents/STEM/.metadata/.plugins/org.eclipse.pde.core/stem.product/dev.properties -os macosx -ws carbon -arch x86 -debug -consoleLog !ENTRY org.eclipse.osgi 4 0 2007-06-12 18:50:25.002 !MESSAGE Application error !STACK 1 java.lang.UnsatisfiedLinkError: no swt-carbon-3345 or swt-carbon in swt.library.path, java.library.path or the jar file at org.eclipse.swt.internal.Library.loadLibrary(Library.java:219) 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:943) at org.eclipse.swt.widgets.Display.create(Display.java:937) at org.eclipse.swt.graphics.Device.<init>(Device.java:119) at org.eclipse.swt.widgets.Display.<init>(Display.java:749) at org.eclipse.swt.widgets.Display.<init>(Display.java:740) at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:498) at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161) at org.eclipse.ohf.stem.core.common.presentation.CoreEditorAdvisor$Application.start(CoreEditorAdvisor.java:109) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) 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:585) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443) at org.eclipse.equinox.launcher.Main.run(Main.java:1169) at org.eclipse.equinox.launcher.Main.main(Main.java:1144) !ENTRY org.eclipse.osgi 2 0 2007-06-12 18:50:25.024 !MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists: !SUBENTRY 1 org.eclipse.osgi 2 0 2007-06-12 18:50:25.024 !MESSAGE Bundle update@plugins/org.eclipse.jdt.compiler.apt_1.0.0.v20070510-2000.jar [369] was not resolved. !SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2007-06-12 18:50:25.024 !MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0. !SUBENTRY 1 org.eclipse.osgi 2 0 2007-06-12 18:50:25.025 !MESSAGE Bundle update@plugins/org.eclipse.jdt.compiler.tool_1.0.0.v_770.jar [370] was not resolved. !SUBENTRY 2 org.eclipse.jdt.compiler.tool 2 0 2007-06-12 18:50:25.025 !MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.6 !SESSION 2007-06-13 10:27:11.555 ----------------------------------------------- eclipse.buildId=unknown java.version=1.5.0_07 java.vendor=Apple Computer, Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US Framework arguments: -product org.eclipse.ohf.stem.ui.product Command-line arguments: -product org.eclipse.ohf.stem.ui.product -data /Users/vincent/Documents/STEM/../runtime-stem.product -dev file:/Users/vincent/Documents/STEM/.metadata/.plugins/org.eclipse.pde.core/stem.product/dev.properties -os macosx -ws carbon -arch x86 -debug -consoleLog !ENTRY org.eclipse.osgi 4 0 2007-06-13 10:27:14.257 !MESSAGE Application error !STACK 1 java.lang.UnsatisfiedLinkError: PTR_sizeof at org.eclipse.swt.internal.C.PTR_sizeof(Native Method) at org.eclipse.swt.internal.C.<clinit>(C.java:24) at org.eclipse.swt.widgets.Display.createDisplay(Display.java:943) at org.eclipse.swt.widgets.Display.create(Display.java:937) at org.eclipse.swt.graphics.Device.<init>(Device.java:119) at org.eclipse.swt.widgets.Display.<init>(Display.java:749) at org.eclipse.swt.widgets.Display.<init>(Display.java:740) at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:498) at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161) at org.eclipse.ohf.stem.core.common.presentation.CoreEditorAdvisor$Application.start(CoreEditorAdvisor.java:109) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) 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:585) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443) at org.eclipse.equinox.launcher.Main.run(Main.java:1169) at org.eclipse.equinox.launcher.Main.main(Main.java:1144) !ENTRY org.eclipse.osgi 2 0 2007-06-13 10:27:14.287 !MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists: !SUBENTRY 1 org.eclipse.osgi 2 0 2007-06-13 10:27:14.287 !MESSAGE Bundle update@plugins/org.eclipse.jdt.compiler.apt_1.0.0.v20070510-2000.jar [369] was not resolved. !SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2007-06-13 10:27:14.288 !MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0. !SUBENTRY 1 org.eclipse.osgi 2 0 2007-06-13 10:27:14.288 !MESSAGE Bundle update@plugins/org.eclipse.jdt.compiler.tool_1.0.0.v_770.jar [370] was not resolved. !SUBENTRY 2 org.eclipse.jdt.compiler.tool 2 0 2007-06-13 10:27:14.288 !MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.6 |