Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JVM terminated. Exit code = -1

Tags:

eclipse

jvm

I've been using Eclipse for some time already, and I didn't have any problems with it. However, when I tried to generate some javadoc, I found that I didn't have the SDK installed. I installed jdk 6u23, and from then on, Eclipse hasn't been working.

At first it told me it couldn't find a JRE/SDK. After copying and placing the JRE in the Eclipse folder, the error changed to this:

http://i258.photobucket.com/albums/hh261/magical_7/Eclipse.png

I've searched around for some solutions, and found a few of varying nature. However, none of them seemed to work. I've tried emptying my eclipse.ini file without success. Altering some values in eclipse.ini didn't work either. Installing Java SDK 1.5 didn't work.

Does anyone have other possible solutions?

Update: I tried reinstalling Eclipse, but it didn't fix the problem. I did notice that it's a 32bit version, while I'm running a 64bit system. However, if this were to be the problem, I find it strange that it hasn't been an issue earlier.

Update 2 I've reinstalled both Eclipse and Java once more, and everything works again.

like image 308
Lex Avatar asked Feb 01 '11 10:02

Lex


Video Answer


1 Answers

Remove the default value "256m/256M" from the eclipse configuration file (eclipse.ini).

You will find this line just below "--launcher.XXMaxPermSize".

like image 108
Shashank Kadne Avatar answered Sep 19 '22 12:09

Shashank Kadne