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]”

Leave a Comment