Public bug reported:

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/home/jbj1/workspace/.metadata/.log. In this file I
see at the end:

!SESSION 2011-03-04 10:19:26.019 -----------------------------------------------
eclipse.buildId=M20100211-1343
java.version=1.6.0_21
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.UnsatisfiedLinkError: no swt-gtk-3557 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)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

I have installed libswt-gtk-3.5-java, libswt-gtk-3.5-jni, and if I run
strace I can see it is looking for this:

8979  stat("/usr/java/packages/lib/amd64/libswt-gtk-3557.so", 0x7f5a74006b80) = 
-1 ENOENT (No such file or directory)
8979  stat("/usr/lib/jni/libswt-gtk-3557.so", 0x7f5a74006b80) = -1 ENOENT (No su
ch file or directory)
8979  stat("/lib/libswt-gtk-3557.so", 0x7f5a74006b80) = -1 ENOENT (No such file 
or directory)

but if I look in /usr/lib/jni/ I see:

jens-hplaptop$ ls /usr/lib/jni
libjava-access-bridge-jni.so        libswt-awt-gtk-3555.so
libjava-access-bridge-jni.so.0      libswt-gnome-gtk-3555.so
libjava-access-bridge-jni.so.0.0.0  libswt-gtk-3555.so
libswt-atk-gtk-3555.so              libswt-pi-gtk-3555.so

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-platform-data                 3.5.2-8ubuntu2                        
     Eclipse platform without plug-ins to develop any language (data)
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)

** Affects: eclipse (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/728825

Title:
  eclipse cannot start, missing dependency?

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to