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.

Developerforce Wiki Login Error Solved : Salesforce

If you have come across the following database error on developerforce documentation site and are still clueless on how to solve this problem.. read on.

Site :

You are trying to : Login to wiki / download Fundamentals: Custom Application Development in the Cloud

Error Message :

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:

(SQL query hidden)

from within function "User::saveSettings". MySQL returned error "1062: Duplicate entry ‘Alok Agrawal (Alok Agrawal)’ for key ‘user_name’ (localhost)". Retrieved from ""

Following is a screenshot of the error message


Resolution :

To resolve this error all you need to do is change your name in the personal information area in developer login setup.

Steps –

1. Click on Developer Login and login to your account.
2. Click on the setup link on the main page.

3. Click on Personal Setup –> Personal Information –> Edit

4. Change your first name and / or last name.

Thats it! Now when you try to login to wiki there should be no problem. Also if you just want to download the Platform Fundamentals pdf ebook you can do so from outside the wiki. Follow these steps to download this book from

1. Select the hardcopy option from the available options.

2. Select the file download option below the add to cart button.

The exact hardlink is as follows :

Hope this helped as I could not find any resolution to this problem on the developerforce discussion forum.