- This topic has 2 replies, 2 voices, and was last updated 18 years, 2 months ago by Thorsten Kamann.
-
AuthorPosts
-
Thorsten KamannMemberHello all,
I am developing an Eclipse Plugin. When I want to start a Runtime Workbench to test the plugin i get an error. The System-Log says:
!SESSION 2006-08-26 15:14:36.099 ———————————————–
eclipse.buildId=unknown
java.version=1.5.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=de_DE
Framework arguments: -product org.eclipse.sdk.ide -pdelaunch
Command-line arguments: -product org.eclipse.sdk.ide -data /home/kamann-thorsten/development/workspaces\runtimeWorkspace -dev file:/files/projectserver/workspaces/myeclipse/fornax/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/dev.properties -pdelaunch -os linux -ws gtk -arch x86!ENTRY org.eclipse.osgi 4 0 2006-08-26 15:14:44.350
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: /files/projectserver/workspaces/myeclipse/fornax/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/org.eclipse.osgi/bundles/79/1/.cp/libswt-pi-gtk-3232.so: /files/projectserver/workspaces/myeclipse/fornax/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/org.eclipse.osgi/bundles/79/1/.cp/libswt-pi-gtk-3232.so: failed to map segment from shared object: Operation not permitted
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1660)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:992)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:126)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:433)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDEApplication.java:122)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:75)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
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.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)This error occurs with the simple HelloWorld-Plugin too. But with a pure Eclipse this works.
Thorsten
Riyad KallaMemberThorsten,
Is there any indication that MyEclipse is causing this breakage and which file/classes it needs to work? (looking at the above stack trace, I can’t tell you are using MyEclipse except for your workspace name, so its hard to say what the runtime is complaining about missing, it seems to be a system .so file)
Thorsten KamannMemberYou can tries it out. Create the HelloWorld-Plugin with MyEclipse and try to start a runtimeWorkbench. The error should occuring.
Do the same with a standalone Eclipse. This should work.
You must use this on Linux. The Windows-Version works fine.
Thorsten
-
AuthorPosts