Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > General Help
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

General Help
All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu.

 
Thread Tools Display Modes
Old May 7th, 2007   #1
arsham
5 Cups of Ubuntu
 
arsham's Avatar
 
Join Date: Oct 2006
Location: Iran/Shiraz
Beans: 43
Kubuntu 7.10 Gutsy Gibbon
Send a message via Yahoo to arsham
Angry eclipse doesn't run : JVM terminated. Exit code=1

Hi
After searching/googling around , never found any answers , anyways...
Nobody explained what is this and the certain way to solve the problem , even removing java and eclipse didn't help

The code is here :

Quote:
JVM terminated. Exit code=1
/usr/lib/jvm/java-1.5. 0-sun/bin/java
-Djava.library.path=/usr/lib/jni
-Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.1/classmap.db
-Dgnu.gcj.runtime.VMClassLoader.library_control=nev er
-Dosgi.locking=none
-jar /usr/lib/eclipse/startup.jar
-os linux
-ws gtk
-arch x86
-launcher /usr/lib/eclipse/eclipse
-name Eclipse
-showsplash 600
-exitdata 261b800c
-install /usr/lib/eclipse
-vm /usr/lib/jvm/java-1.5.0-sun/bin/java
-vmargs
-Djava.library.path=/usr/lib/jni
-Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.1/classmap.db
-Dgnu.gcj.runtime.VMClassLoader.library_control=nev er
-Dosgi.locking=none
-jar /usr/lib/eclipse/startup.jar
I'm using ubuntu feisty
And tried several purging/installing of java,eclipse and every dependencies

Help required for continue developing

Regards
Arsham
arsham is offline   Reply With Quote
Old May 7th, 2007   #2
mlind
Skinny Extra Sweet Ubuntu
 
mlind's Avatar
 
Join Date: Nov 2005
Beans: 2,325
Ubuntu Intrepid Ibex (testing)
Re: eclipse doesn't run : JVM terminated. Exit code=1

Download eclipse SDK from eclipse.org and install Sun's JDK from Ubuntu repository. Although gcj is very impressive piece of software, it's not as good as Sun's. At least that's what I'm still doing and I've been using eclipse for 3 years now.
__________________
Building on Ubuntu using [pbuilder]
Other resources [Upgrading from CVS, Gaim2, Anjuta, Rhythmbox]
mlind is offline   Reply With Quote
Old May 7th, 2007   #3
arsham
5 Cups of Ubuntu
 
arsham's Avatar
 
Join Date: Oct 2006
Location: Iran/Shiraz
Beans: 43
Kubuntu 7.10 Gutsy Gibbon
Send a message via Yahoo to arsham
Unhappy Re: eclipse doesn't run : JVM terminated. Exit code=1

Thanks for reply
I did it , but the problem remains
I don't know what have I done , but it seems somethings wrong with my configuration files
I will try as a different user and see what happens

But , I also use Zend Studio 5.5 and couple of java programs without any problem

Regards
Arsham
arsham is offline   Reply With Quote
Old May 8th, 2007   #4
b05q
First Cup of Ubuntu
 
b05q's Avatar
 
Join Date: Jan 2007
Location: atlanta, ga usa
Beans: 5
The Feisty Fawn Testing
Re: eclipse doesn't run : JVM terminated. Exit code=1

take a look at post #18 here:

http://ubuntuforums.org/showthread.php?t=315444&page=2
__________________
Intel core 2 duo E6300 1.86Mz
intel d945gcl mb
evga 7800gt
23" apple cinema
b05q is offline   Reply With Quote
Old May 8th, 2007   #5
arsham
5 Cups of Ubuntu
 
arsham's Avatar
 
Join Date: Oct 2006
Location: Iran/Shiraz
Beans: 43
Kubuntu 7.10 Gutsy Gibbon
Send a message via Yahoo to arsham
Angry Re: eclipse doesn't run : JVM terminated. Exit code=1

Quote:
Originally Posted by b05q View Post
Didn't help
Everythings like before
arsham is offline   Reply With Quote
Old May 8th, 2007   #6
mixmaster
Way Too Much Ubuntu
 
Join Date: Aug 2006
Beans: 241
Re: eclipse doesn't run : JVM terminated. Exit code=1

For what it is worth, I am running the eclipse stack (I need it for native Lotus Notes). My java version is 1.4.2. Might you have a version mismatch?
mixmaster is offline   Reply With Quote
Old May 8th, 2007   #7
mlind
Skinny Extra Sweet Ubuntu
 
mlind's Avatar
 
Join Date: Nov 2005
Beans: 2,325
Ubuntu Intrepid Ibex (testing)
Re: eclipse doesn't run : JVM terminated. Exit code=1

Make sure you're using Sun's jvm when running elicpse. use update-jave-alternatives to switch to sun's implementation.

if you're running x64, you may need to specify -XX:MaxPermSize=128M as runtime argument (put it in eclipse.ini). This solves crashing for on 64 arch for me.

If this doesn't help any, try starting eclipse with -clean argument, or even remove .metadata folder where your workspace is located.
__________________
Building on Ubuntu using [pbuilder]
Other resources [Upgrading from CVS, Gaim2, Anjuta, Rhythmbox]
mlind is offline   Reply With Quote
Old May 8th, 2007   #8
arsham
5 Cups of Ubuntu
 
arsham's Avatar
 
Join Date: Oct 2006
Location: Iran/Shiraz
Beans: 43
Kubuntu 7.10 Gutsy Gibbon
Send a message via Yahoo to arsham
Re: eclipse doesn't run : JVM terminated. Exit code=1

Quote:
Originally Posted by mlind View Post
Make sure you're using Sun's jvm when running elicpse. use update-jave-alternatives to switch to sun's implementation.

if you're running x64, you may need to specify -XX:MaxPermSize=128M as runtime argument (put it in eclipse.ini). This solves crashing for on 64 arch for me.

If this doesn't help any, try starting eclipse with -clean argument, or even remove .metadata folder where your workspace is located.
Thanks for reply
I tried everything , also :
Quote:
eclipse -vm /usr/lib/jvm/java-1.5.0-sun/bin/java
and :
Quote:
eclipse -vm /usr/lib/jvm/java-1.5.0-sun-1.5.0.11/bin/java
The problem still remains

these are what I have installed :

Quote:
.......
ii sun-java5-bin 1.5.0-11-1ubuntu2 Sun Java(TM) Runtime Environment (JRE) 5.0 (architectu
ii sun-java5-demo 1.5.0-11-1ubuntu2 Sun Java(TM) Development Kit (JDK) 5.0 demos and examp
ii sun-java5-jdk 1.5.0-11-1ubuntu2 Sun Java(TM) Development Kit (JDK) 5.0
ii sun-java5-jre 1.5.0-11-1ubuntu2 Sun Java(TM) Runtime Environment (JRE) 5.0 (architectu
ii sun-java5-plugin 1.5.0-11-1ubuntu2 The Java(TM) Plug-in, Java SE 5.0
......
arsham is offline   Reply With Quote
Old May 8th, 2007   #9
arsham
5 Cups of Ubuntu
 
arsham's Avatar
 
Join Date: Oct 2006
Location: Iran/Shiraz
Beans: 43
Kubuntu 7.10 Gutsy Gibbon
Send a message via Yahoo to arsham
Re: eclipse doesn't run : JVM terminated. Exit code=1

[SOLVED]
Problem solved , but not fairly

I installed java 6 and did this :

Quote:
update-java-alternatives -s /usr/lib/jvm/java-6-sun
After that eclipse is running , but why with version of 6 and not with 5?

Thank you all for your help

Please keep this thread open to find a real solution , helping ubuntu to be the most user friendly distro ever
arsham is offline   Reply With Quote
Old January 15th, 2008   #10
mexpolk
Just Give Me the Beans!
 
mexpolk's Avatar
 
Join Date: Jan 2008
Beans: 51
Ubuntu 7.10 Gutsy Gibbon
Lightbulb Re: eclipse doesn't run : JVM terminated. Exit code=1

This is my solution, and works great:

http://ubuntuforums.org/showthread.php?p=4141441

Best
mexpolk is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:41 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry