Tag Archives: Force.com

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

Just installed Force.com IDE on my XP laptop, using the standalone installer from Salesforce website. This is a pulse based installer that installs Force.com 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\salesforce.com\Force.com IDE\forceide.ini”. The content of this file are as follows -

#utf8 (do not remove)
-startup
../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
–launcher.library
../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-install
C:\Program Files\salesforce.com\Force.com IDE
-configuration
C:\Program Files\salesforce.com\Force.com IDE\configuration
-vmargs
-Dfile.encoding=UTF-8
-Xms256m
-Xmx1024m
-XX:PermSize=128M
-XX:MaxPermSize=512M

To fix this error, change the value of -XX:MaxPermSize from 512M to 256M. After making this change, I was able to start Force.com 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 : http://wiki.developerforce.com/index.php/Documentation

You are trying to : Login to wiki / download Force.com 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 "https://wiki.developerforce.com/index.php/Special:UserLogin"

Following is a screenshot of the error message

developerforce_wikilogin_error

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.
developer_settings

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

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 Force.com Platform Fundamentals pdf ebook you can do so from outside the wiki. Follow these steps to download this book from lulu.com

1. Select the hardcopy option from the available options.
pdf_version

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

The exact hardlink is as follows :
http://www.lulu.com/content/content_download_redirect.php?contentId=8229923&version=2

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