LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-23-2008, 05:38 PM   #1
angle2009
Member
 
Registered: Mar 2007
Location: Egypt
Distribution: Ubuntu 11.10 x86_64
Posts: 80

Rep: Reputation: 15
eclipse startup problem


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

Quote:
-JVM terminated. Exit code=-1
-Xms40m
-Xmx256m
-XX:MaxPermSize=128m
-Dosgi.sharedConfiguration.area=/usr/lib/eclipse/configuration
-Djava.class.path=/usr/share/eclipse/startup.jar
-os linux
-ws gtk
-arch x86
-showsplash /usr/share/eclipse//plugins/org.eclipse.platform_3.3.0.v20070613/splash.bmp
-launcher /usr/lib/eclipse/eclipse
-name Eclipse
--launcher.library /usr/lib/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.0.v20070606/eclipse_1017a.so
-startup /usr/share/eclipse/startup.jar
-vm /usr/lib/jre/bin/../lib/i386/client/libjvm.so
-vmargs
-Xms40m
-Xmx256m
-XX:MaxPermSize=128m
-Dosgi.sharedConfiguration.area=/usr/lib/eclipse/configuration
-Djava.class.path=/usr/share/eclipse/startup.jar
 
Old 02-24-2008, 02:24 AM   #2
budword
Member
 
Registered: Apr 2003
Location: Wisconsin
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675

Rep: Reputation: 31
What version of java do you have installd ?
 
Old 02-24-2008, 02:42 AM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
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.
 
Old 02-25-2008, 04:15 AM   #4
pobbz
LQ Newbie
 
Registered: Jul 2006
Distribution: Fedora, Debian, DSL
Posts: 24

Rep: Reputation: 15
Hello.

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).
 
Old 02-26-2008, 03:09 PM   #5
angle2009
Member
 
Registered: Mar 2007
Location: Egypt
Distribution: Ubuntu 11.10 x86_64
Posts: 80

Original Poster
Rep: Reputation: 15
for budword and b0uncer
the output of java version

java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
 
Old 02-26-2008, 03:42 PM   #6
angle2009
Member
 
Registered: Mar 2007
Location: Egypt
Distribution: Ubuntu 11.10 x86_64
Posts: 80

Original Poster
Rep: Reputation: 15
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)
 
Old 02-28-2008, 03:27 AM   #7
pobbz
LQ Newbie
 
Registered: Jul 2006
Distribution: Fedora, Debian, DSL
Posts: 24

Rep: Reputation: 15
Hello.

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.
 
Old 02-29-2008, 04:40 PM   #8
angle2009
Member
 
Registered: Mar 2007
Location: Egypt
Distribution: Ubuntu 11.10 x86_64
Posts: 80

Original Poster
Rep: Reputation: 15
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)

thanks alot
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Eclipse startup problems Hockeyfan Linux - Software 0 07-15-2005 09:09 PM
Eclipse startup problem Jan_W Linux - Newbie 7 04-13-2005 12:09 PM
Eclipse startup max2004 Linux - Software 7 03-15-2005 05:06 PM
eclipse startup issue ferreter Slackware 0 04-28-2004 08:10 PM
Eclipse Startup Problems dabump Linux - Software 3 11-13-2003 12:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration