IDE – JVM terminated. Exit code=-1 Error [Solved]

Just installed IDE on my XP laptop, using the standalone installer from Salesforce website. This is a pulse based installer that installs IDE as an eclipse plugin. However, once the installation finished I was greeted with the following error: JVM terminated. Exit code=-1. Below is a screenshot of the error pop-up..

forceide-6-9-2011-2.16.28 PM

How to solve this issue : In my case the problem was that -XX:MaxPermSize of 512 MB was causing the JVM to crash. The solution is simple. open forceide.ini file. This file will be located in the same folder where your forceide.exe is installed. eg. “C:\Program Files\\ IDE\forceide.ini”. The content of this file are as follows -

#utf8 (do not remove)
C:\Program Files\\ IDE
C:\Program Files\\ IDE\configuration

To fix this error, change the value of -XX:MaxPermSize from 512M to 256M. After making this change, I was able to start IDE without any issues.

4 Thoughts on “ IDE – JVM terminated. Exit code=-1 Error [Solved]

  1. Thanks for helping , its working fine

  2. Hasan on June 12, 2012 at 7:12 pm said:

    Thank you very much, it worked!!!

  3. Manish Panchal on September 29, 2012 at 12:30 pm said:

    Thank you. This is working perfectly fine.

  4. Thanks a lot, it works after the fix…

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Post Navigation