Herm I just ran the automatic pangolin updates using update-manger and it
nailed it.
Le 7 avril 2012 04:00, fin <email address hidden> a écrit :
> Hi Simon,
> What packages did you update? I've tried updating libswt and eclipse but
> with no luck.
>
> thanks,
> Fin
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/728825
>
> Title:
> Eclipse cannot start: "java.lang.UnsatisfiedLinkError: no swt-gtk-3557
> or swt-gtk"
>
> Status in “eclipse” package in Ubuntu:
> Fix Released
> Status in “swt-gtk” package in Ubuntu:
> Confirmed
>
> 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/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)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/728825/+subscriptions
>
Herm I just ran the automatic pangolin updates using update-manger and it
nailed it.
Le 7 avril 2012 04:00, fin <email address hidden> a écrit :
> Hi Simon, /bugs.launchpad .net/bugs/ 728825 UnsatisfiedLink Error: no swt-gtk-3557 home/jbj1/ workspace/ .metadata/ .log. In this file I ------- ------- ------- ------- ------- ----- buildId= M20100211- 1343 1.6.0_21 UnsatisfiedLink Error: no swt-gtk-3557 or swt-gtk in swt.internal. Library. loadLibrary( Library. java:254) swt.internal. Library. loadLibrary( Library. java:159) swt.internal. C.<clinit> (C.java: 21) swt.internal. Converter. wcsToMbcs( Converter. java:63) swt.internal. Converter. wcsToMbcs( Converter. java:54) swt.widgets. Display. <clinit> (Display. java:131) ui.internal. Workbench. createDisplay( Workbench. java:516) ui.PlatformUI. createDisplay( PlatformUI. java:161) ui.internal. ide.application .IDEApplication .createDisplay( IDEApplication. java:143) ui.internal. ide.application .IDEApplication .start( IDEApplication. java:88) equinox. internal. app.EclipseAppH andle.run( EclipseAppHandl e.java: 194) core.runtime. internal. adaptor. EclipseAppLaunc her.runApplicat ion(EclipseAppL auncher. java:110) core.runtime. internal. adaptor. EclipseAppLaunc her.start( EclipseAppLaunc her.java: 79) core.runtime. adaptor. EclipseStarter. run(EclipseStar ter.java: 368) core.runtime. adaptor. EclipseStarter. run(EclipseStar ter.java: 179) NativeMethodAcc essorImpl. invoke0( Native Method) NativeMethodAcc essorImpl. invoke( NativeMethodAcc essorImpl. java:57) DelegatingMetho dAccessorImpl. invoke( DelegatingMetho dAccessorImpl. java:43) reflect. Method. invoke( Method. java:616) equinox. launcher. Main.invokeFram ework(Main. java:559) equinox. launcher. Main.basicRun( Main.java: 514) equinox. launcher. Main.run( Main.java: 1311) equinox. launcher. Main.main( Main.java: 1287) gtk-3.5- java, libswt-gtk-3.5-jni, and if I run usr/java/ packages/ lib/amd64/ libswt- gtk-3557. so", usr/lib/ jni/libswt- gtk-3557. so", 0x7f5a74006b80) = -1 ENOENT lib/libswt- gtk-3557. so", 0x7f5a74006b80) = -1 ENOENT (No access- bridge- jni.so libswt- awt-gtk- 3555.so access- bridge- jni.so. 0 libswt- gnome-gtk- 3555.so access- bridge- jni.so. 0.0.0 libswt-gtk-3555.so atk-gtk- 3555.so libswt- pi-gtk- 3555.so platform- data 3.5.2-8ubuntu2 /bugs.launchpad .net/ubuntu/ +source/ eclipse/ +bug/728825/ +subscriptions
> What packages did you update? I've tried updating libswt and eclipse but
> with no luck.
>
> thanks,
> Fin
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> Eclipse cannot start: "java.lang.
> or swt-gtk"
>
> Status in “eclipse” package in Ubuntu:
> Fix Released
> Status in “swt-gtk” package in Ubuntu:
> Confirmed
>
> 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/
> see at the end:
>
> !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.
> swt.library.path, java.library.path or the jar file
> 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-
> strace I can see it is looking for this:
>
> 8979 stat("/
> 0x7f5a74006b80) =
> -1 ENOENT (No such file or directory)
> 8979 stat("/
> (No su
> ch file or directory)
> 8979 stat("/
> such file
> 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-
> 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)
>
> To manage notifications about this bug go to:
>
> https:/
>