First step to start with coding in Salesforce.com is to install the force.com IDE in Eclipse. I will target the new version of eclipse which is Kepler. Force.com IDE is supported in Eclipse Juno as well as Eclipse Kepler.
So, we will start with launching the Eclipse.
then goto Help -> Software Update / Install new software…
Then Add Force.com site.
- Click “Add Site”. The Add Site dialog opens.
- Set the Name to “Force.com IDE” and the Location to “http://media.developerforce.com/force-ide/eclipse42“, then click “OK.”
After you add the site, you will get the list of all available plugins, click on force.com and then click Next.
In the Install dialog, click “Next” then accept the terms and click.
follow the instructions and IDE will be installed.
After Installation, Create new Project of type Force.com.
- Salesforce UserName
- Salesforce Password
- Salesforce Security Token
How to update Force.com IDE ?
Salesforce releases new feature almost three times a year like Winter, Spring and Summer release. So at those time, API version also gets changed. If you will not update your force.com IDE, you will always end up with creating Apex and other resources in Old version. So it is always recommended to update existing installation of force.com IDE. To update IDE you have to follow below steps :
- Open Force.com IDE and Navigate to Help | Show Force.com Start Page.
- On Upper right hand corner of new Window, there will be link to update IDE.
Salesforce.com IDE Installation error
While installing eclipse, if you get error something like
Cannot complete the install because of a conflicting dependency. Software being installed: Force.com IDE 18.104.22.168011121559 (com.salesforce.ide.feature.feature.group 22.214.171.124011121559) Software currently installed: Shared profile 126.96.36.1994708747720 (SharedProfile_epp.package.java 188.8.131.524708747720) Only one of the following can be installed at once: Structured Source Editor 1.2.2.v201008232126 (org.eclipse.wst.sse.ui 1.2.2.v201008232126) Structured Source Editor 1.1.102.v200910200227 (org.eclipse.wst.sse.ui 1.1.102.v200910200227) Cannot satisfy dependency: From: Shared profile 184.108.40.2064708747720 (SharedProfile_epp.package.java 220.127.116.114708747720) To: org.eclipse.wst.sse.ui [1.2.2.v201008232126] Cannot satisfy dependency: From: Force.com IDE 18.104.22.168011121559 (com.salesforce.ide.feature.feature.group 22.214.171.124011121559) To: org.eclipse.wst.html.ui [1.0.0,2.0.0) Cannot satisfy dependency: From: HTML UI Source Editor 1.0.401.v200908111935 (org.eclipse.wst.html.ui 1.0.401.v200908111935) To: bundle org.eclipse.wst.sse.ui [1.1.0,1.2.0)
This issue is actually caused by Windows 7 UAC (User Access Control) which doesn’t allow Eclipse to be updated if you’re running it from within the “c:\program files” directory. Eclipse doesn’t know how to handle that problem and stupidly reports some misleading conflict information. If you move Eclipse install to “c:\eclipse” It will work just fine.
Check this post if you are getting error – Unable to refresh from server in IDE
Please leave your comments about this article so that i can answer.