Eclipse cannot start: "java.lang.UnsatisfiedLinkError: no swt-gtk-3557 or swt-gtk"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eclipse (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
swt-gtk (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: eclipse
On a freshly installed/updated box, when I run eclipse I first get the splash screen, the a little dialog saying: An error has occurred. See the log file /space/
!SESSION 2011-03-04 10:19:26.019 -------
eclipse.
java.version=
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY org.eclipse.osgi 4 0 2011-03-04 10:19:27.633
!MESSAGE Application error
!STACK 1
java.lang.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
I have installed libswt-
8979 stat("/
-1 ENOENT (No such file or directory)
8979 stat("/
ch file or directory)
8979 stat("/
or directory)
but if I look in /usr/lib/jni/ I see:
jens-hplaptop$ ls /usr/lib/jni
libjava-
libjava-
libjava-
libswt-
so perhaps the dependencies are not correct?
jens-hplaptop$ lsb_release -rd
Description: Ubuntu Natty (development branch)
Release: 11.04
jens-hplaptop$ dpkg --list eclipse\* | grep ^ii
ii eclipse 3.5.2-8ubuntu2 Extensible Tool Platform and Java IDE
ii eclipse-jdt 3.5.2-8ubuntu2 Eclipse Java Development Tools (JDT)
ii eclipse-pde 3.5.2-8ubuntu2 Eclipse Plug-in Development Environment (PDE)
ii eclipse-platform 3.5.2-8ubuntu2 Eclipse platform without plug-ins to develop any language
ii eclipse-
ii eclipse-plugin-cvs 3.5.2-8ubuntu2 Eclipse Team Integration (CVS support)
ii eclipse-rcp 3.5.2-8ubuntu2 Eclipse Rich Client Platform (RCP)
Changed in eclipse (Ubuntu): | |
status: | New → Confirmed |
summary: |
- eclipse cannot start, missing dependency? + Eclipse cannot start: "java.lang.UnsatisfiedLinkError: no swt-gtk-3557 + or swt-gtk" |
I keep an up to date natty development machine and this just started happening on today's update. UnsatisfiedLink Error: no swt-gtk-3557 or swt-gtk in swt.library.path, java.library.path or the jar file"
If I run eclipse from the command line I get the same error: "java.lang.
btw: If I download an eclipse .tar.gz it works fine, though.