FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi guys
i wanna ask for help
when i installed eclipse and then i run the program this message appeared to me and i have no choice to enter the program so what is the expected problem
Eclipse is built, as far as I understand, mostly on Java so basically all you need to run it is a working Java Runtime Environment (JRE). Can you run other Java apps?
To determine the version, run
Code:
java -version
which prints out something like
Quote:
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode)
Your Java version might be something else, though, and it's perfectly OK as long as it's recent enough.
To me it seems that the JVM is crashing. I had similar problems about a year ago; I couldn't start Eclipse because of JVM segfaulting. Eclipse should create crash dump somewhere, but I can't for the life of me remember where they get created. You might want to check at least under /tmp and under your workspace directory.
When/if you find the crash dump (it's basically a stack trace sort of thing) you might want to post it here, because usually it indicates some shared library (.so) where the crash occurred. Oh, on the second thought, don't post it directly, as it tends to be quite long. Instead make an attachment (if this forum allows attachments, I don't know as I rarely use this forum).
for pobbz
i navigated the eclipse directory under /usr/lib/eclipse
and i typed ./eclipse
and i found on my shell this
Quote:
[root@localhost eclipse]# ./eclipse
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/eclipse/equinox/launcher/JNIBridge (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/eclipse/equinox/launcher/Main (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Ok, judging form what you saw in console, it actually doesn't seem to be a JVM crash. Instead, it seems that there's something wrong with the Eclipse code.
However, you are trying to run Eclipse version 3.3 on a 1.4 series Java virtual machine. I think that you should check the system requirements for Eclipse 3.3. It might well be that your Java version is too old to run Eclipse 3.3 -- in which case you need to update you Java.
Hello pobbz,
yah you are right my problem successfully solved when i installed new jdk
and now my java version is
java version "1.6.0_04"
Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.