Friday, April 26, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 3348  / 3 Years ago, sat, july 3, 2021, 7:30:17

I'm running ubuntu 11.04. I'm trying to install the latest "eclipse for java developers" IDE (version Indigo 3.7.1).



I have downloaded and extracted it. I attempt to run it by changing to the extracted folder and executing



./eclipse


This produces the following errors in the terminal:



> /usr/lib/gio/modules/libgiobamf.so: wrong ELF class: ELFCLASS64 Failed
> to load module: /usr/lib/gio/modules/libgiobamf.so
> /usr/lib/gio/modules/libgvfsdbus.so: wrong ELF class: ELFCLASS64
> Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so


And then a dialog opens with this error message:



JVM terminated. Exit code=13 /usr/bin/java
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx384m
-jar /opt/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
-os linux
-ws gtk
-arch x86
-showsplash
-launcher /opt/eclipse/eclipse
-name Eclipse
--launcher.library /opt/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20110505/eclipse_1407.so
-startup /opt/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.overrideVmargs
-exitdata 2f80031
-product org.eclipse.epp.package.java.product
-clean
-vm /usr/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx384m
-jar /opt/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar


I'd appreciate any help / insight.



Update



I should mention that I'm running 32 bit ubuntu and I'm trying to install 32 bit eclipse.



Update #2



Oops - I just realized that I'm running 64 bit ubuntu, not 32 bit ubuntu.


More From » java

 Answers
2

I believe this is because you are trying to run 64 bit eclipse on 32 bit system or vice versa. Make sure you are downloading the right version of Eclipse for your machine i.e if you are running 32 bit Ubuntu then download Eclipse for 32 bit Linux.



UPDATE:

The ELF error is indicating that the 32 bit application is trying to load a 64-bit shared library. It appears as somehow a 64 bit library got installed into /usr/lib. There are two open bugs for the above mentioned libraries:

First

Second


[#41866] Saturday, July 3, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
afyess

Total Points: 437
Total Questions: 120
Total Answers: 107

Location: San Marino
Member since Fri, Jul 3, 2020
4 Years ago
afyess questions
;