Bugzilla – Bug 168706
eclipse doesn't work on x86-64 after 64bit java 1.5 is installed
Last modified: 2006-07-03 13:27:17 UTC
I selected java 1.5 during installation and eclipse i get !SESSION 2006-04-24 10:23:03.612 ----------------------------------------------- eclipse.buildId=M20050929-0840 java.version=1.5.0_06 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86 -data /home/andi/.eclipse !ENTRY org.eclipse.osgi 2006-04-24 10:23:07.772 !MESSAGE Application error !STACK 1 java.lang.UnsatisfiedLinkError: /home/andi/.eclipse/org.eclipse.platform_3.1.1.1/configuration/org.eclipse.osgi/bundles/3/1 /.cp/libswt-pi-gtk-3139.so: /home/andi/.eclipse/org.eclipse.platform_3.1.1.1/configuration/org.eclipse.osgi/bundles/3/1/.cp /libswt-pi-gtk-3139.so: wrong ELF class: ELFCLASS32 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:123) 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:122) at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:381) at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:155) at org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDEApplication.java:128) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:79) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) 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.invokeFramework(Main.java:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java:973) at org.eclipse.core.launcher.Main.main(Main.java:948) !ENTRY org.eclipse.osgi 2006-04-24 10:23:07.780 !MESSAGE Bundle update@plugins/org.eclipse.platform.source.linux.gtk.x86_3.1.1/ [61] was not resolved. !SUBENTRY 1 org.eclipse.osgi 2006-04-24 10:23:07.780 !MESSAGE Missing host org.eclipse.platform.source_3.1.1. ~ rpm -qi libswt3-gtk2 Name : libswt3-gtk2 Relocations: (not relocatable) Version : 3.1.1 Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany Release : 11 Build Date: Thu 20 Apr 2006 09:25:49 PM CEST ... Distribution: SUSE Linux 10.1 (i586) The Java is 64bit, but the installation seems to only have installed 32bit SWT I suppose it should be using the 32bit java 1.4, but it doesn't out of the box at least.
This is still in final. My solution was to deinstall 1.5 x64 and reinstall the x586 version (which must be selected manually).
*** This bug has been marked as a duplicate of 146884 ***