FS#17784 - [eclipse] fails to start

Attached to Project: Arch Linux
Opened by Ramses de Norre (Ramses_de_Norre) - Sunday, 10 January 2010, 20:01 GMT
Last edited by Ionut Biru (wonder) - Saturday, 06 February 2010, 19:36 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Paul Mattal (paul)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

When I try to run eclipse, the splash screen comes up, but when it should start showing the progression bar I get a window saying

An error has occurred. See the log file ~/workspace/.metadata/.log.

The mentioned file has has the following in it:

!SESSION 2010-01-06 13:37:21.459 -----------------------------------------------
eclipse.buildId=M20090917-0800
java.version=1.6.0_0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_GB
Command-line arguments: -os linux -ws gtk -arch x86

!ENTRY org.eclipse.osgi 4 0 2010-01-06 13:37:22.375
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: no swt-gtk-3555 or swt-gtk in swt.library.path, java.library.path or the jar file
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:254)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:159)
at org.eclipse.swt.internal.C.<clinit>(C.java:21)
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:131)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:516)
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:194)
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:368)
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:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

It looks as if the swt library is missing but that isn't a dependency of eclipse. I tried to install the swt package from the repo but that doesn't help. I also get the same error with jre+jdk and openjdk6.

I also tried deleting ~/.eclipse and starting with a clean workspace directory, but that didn't help.

Additional info:
* package version(s)
3.5.1-2
This task depends upon

Closed by  Ionut Biru (wonder)
Saturday, 06 February 2010, 19:36 GMT
Reason for closing:  Works for me
Additional comments about closing:  Using eclipse 3.5.1-2 and openjdk6 6.b17_1.7-1

reopen if needed
Comment by Thomas Dziedzic (tomd123) - Saturday, 06 February 2010, 17:27 GMT
Also found a reference to the problem in a faq (and its solution) http://www.eclipse.org/swt/faq.php#missingdll
Comment by Ionut Biru (wonder) - Saturday, 06 February 2010, 17:47 GMT
does it work with the latest openjdk6?
Comment by Thomas Dziedzic (tomd123) - Saturday, 06 February 2010, 18:13 GMT
wonder: "2010-02-06: A task closure has been requested. Reason for request: Works here. Using eclipse 3.5.1-2 and openjdk6 6.b17_1.7-1" XD

Loading...