Blog : Java / PHP Development tool Eclipse IDE Crashed / JVM Exit Code -1

Dec24


 

I am using new Eclipse IDE - Helios -for my Java and PHP development. Today both PHP and Java IDEs crashed with an error message "Unable to start JVM Exit Code -1". 

 

You can try following steps to get rid of the issue.

1. Try to re-install Eclipse but still I was getting the same error.  

2. Then I re-installed my JVM with an updated version, still getting the same issue..

3. Then I installed a newer version of JVM in a totally different location. Eventhough I installed a new version of JVM, still Eclipse with try to run with older version of JVM. 

Now I want to configure my eclipse to use the new JVM I installed. I did following things.. (For Windows).

 

1. Create Desktop shortcut of Eclipse.exe

2. Right click on the shortcut and add following new JVM javaw path as an argument

   Target:  D:\eclipse\eclipse.exe -vm  C:\jre1.5.0_06\bin\javaw

Now click on the shortcut..Wow..My eclipse is working now.

 

You can try the same method even if you get any JVM exit code Eg: JVM Exit code 1, JVM exit code 2 etc

 

 

 

 

 


Join Indian Community is USA
Posted in Software / Eclipse category on Dec 24 2010, 05:26 PM
876 Views, 1 Comments, 0 Appreciations, Overall rating:
Tags: Eclipse, Java, PHP, IDE
Post a comment | Appreciate this post | Report abuse |

Comments


Posted by TJ on Feb 05 2011
Didnt workout for me 


 
X