Dimitar Georgiev Popov
Hello,
I updated recently from 9.2 to 9.3. Both Java 1.4 and 1.5 were install, but I checked that Yast has made all sym links pointing to 1.5. Everything was perfect until I started Eclipse. It didn't started. I found the following stack trace in the log file:
Didn't we mention this in the release notes? Eclipse is a 32-bit app and needs a 32-bit java :-( Andreas
java.lang.UnsatisfiedLinkError: /usr/lib/eclipse/libswt-pi-gtk-3063.so: /usr/lib/eclipse/libswt-pi-gtk-3063.so: cannot open shared object file: No such file or directory 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:100) at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:19) 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:118) at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:268) at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:153) at org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDEApplication.java:122) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:72) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) 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.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:704) at org.eclipse.core.launcher.Main.main(Main.java:688)
Another application (Azureus) also didn't started for a similar exception, except that the native library was another (I didn't save the exception though :( ). The solution which I used was to uninstall Java 1.5 because apparently something was wrong there with the native calls. To my surprise everything start working. So I am with Java 1.4 now, but I want to have Java 1.5 back, mainly because of the nice look of applets ;)
Greetings, Mitko
Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126