Hi, I just installed fedora core 6, upgraded eclipse with yum and am using the sun jdk. Please help this newbie. thanks, john
When launching eclipse an error dialog refers me to the log(workspace/.metadata/.log which states:
$ cat workspace/.metadata/.log !SESSION 2007-03-13 14:21:37.476 ----------------------------------------------- eclipse.buildId=M20070212-1330 java.version=1.5.0_09 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 2007-03-13 14:21:39.955 !MESSAGE Application error !STACK 1 java.lang.UnsatisfiedLinkError: /usr/lib64/eclipse/configuration/org.eclipse.osgi/bundles/6/1/.cp /libswt-pi-gtk-3236.so: /usr/lib64/eclipse/configuration/org.eclipse.osgi/bundles/6/1/.cp/libswt- pi-gtk-3236.so: wrong ELF class: ELFCLASS64 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:993) at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123) at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22) 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:126) at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:436) at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161) at org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDEApplication.java:122) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:75) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseApp Launcher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher. java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) 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:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952)
"John" == john ware jware@virtuallogger.net writes:
John> I just installed fedora core 6, upgraded eclipse with yum and John> am using the sun jdk. John> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US John> Command-line arguments: -os linux -ws gtk -arch x86_64
John> /usr/lib64/eclipse/configuration/org.eclipse.osgi/bundles/6/1/.cp John> /libswt-pi-gtk-3236.so: John> /usr/lib64/eclipse/configuration/org.eclipse.osgi/bundles/6/1/.cp/libswt- John> pi-gtk-3236.so: wrong ELF class: ELFCLASS64
Based on this I would guess that you have a 64 bit system, a 64 bit Eclipse, and a 32 bit JVM.
Tom
Thank you Tom, That was it. This is my first 64 bit system and now I will remember to always look for that.
john "happy camper now" ware
Tom Tromey wrote:
"John" == john ware jware@virtuallogger.net writes:
John> I just installed fedora core 6, upgraded eclipse with yum and John> am using the sun jdk. John> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US John> Command-line arguments: -os linux -ws gtk -arch x86_64
John> /usr/lib64/eclipse/configuration/org.eclipse.osgi/bundles/6/1/.cp John> /libswt-pi-gtk-3236.so: John> /usr/lib64/eclipse/configuration/org.eclipse.osgi/bundles/6/1/.cp/libswt- John> pi-gtk-3236.so: wrong ELF class: ELFCLASS64
Based on this I would guess that you have a 64 bit system, a 64 bit Eclipse, and a 32 bit JVM.
Tom
On Wed, 2007-03-14 at 09:54 -0600, john ware wrote:
Thank you Tom, That was it. This is my first 64 bit system and now I will remember to always look for that.
For what it's worth, this is documented in the FC release notes: http://fedora.redhat.com/docs/release-notes/fc6/en_US/sn-Java.html#id2975163
AG
java-devel@lists.fedoraproject.org