(06-Mar-2019: Salesforce has discontinued any future development on Force.com IDE for Eclipse. For writing codes on Salesforce, you should now switch to using Microsoft Visual Studio with Salesforce Extensions Pack. And I have you covered there also. Please click here to get a step-by-step guide on how to install and get started with MS VS Code with Salesforce Extensions Pack)
Here is the step-by-step instructions with screenshots on how to download, install and configure Force.com IDE on Eclipse platform, connect to a Salesforce Org and explore. In less than 30 minutes, you will have the IDE fully setup and connected to a Salesforce Org.
Salesforce has two main proprietary programming languages. Apex & Visualforce.
Apex is a strongly typed, object-oriented programming language that allows developers to execute flow and transaction control statements.
And Visualforce is a framework that allows developers to build sophisticated, custom user interfaces that can be hosted natively on the Force.com platform.
When developing applications on Salesforce.com / Force.com Platform, you can choose any of the following ways to create your custom codes.
- In Salesforce GUI on browser
- In Developer Console
- Use an IDE (Integrated or Interactive Development Environment)
For simple, light development requirements, you can use Salesforce GUI on browser or Developer Console. However, for heavy development and where you need to integrate with a source code repository with version control, using an IDE is a preferred option.
An IDE typically consists of an editor, build automation tools, debugger, syntax highlighter, intelligent code completion etc. that makes development much more efficient and faster.
One of such IDE that you can use is Force.com IDE based on Eclipse platform.
If you are new to Salesforce development or have been working as a Salesforce Administrator, Consultant or Architect and want to get your hands dirty, then this blog post will help you get started with the IDE. Please note that you will need Salesforce Enterprise Edition or above or a Developer Org to connect from an IDE
The instructions and screenshots in the following presentation were taken on Mac OS X Yosemite 10.10, but I think it should work just fine on Windows also with minor deviations in the steps.
Hi Ashish,
I am getting the below error when I am trying to add Force.com IDE within Eclipse.
No repository found at http://media.developerforce.com/force-ide/eclipse42.
Is there any other url to add the force.com IDE plug in in Eclipse.
I know it is recommended to use VSCode, but i am flexible working on Eclipse.
Kindly reply.
Such a nice post. Good going Ashish.
Thanks Abdul
Also. you may try out JetForcer – a new modern Force.com IDE based on IntelliJ platform.
https://jetforcer.com/get-started
Really it helped for Mac OS beginner
Thank you so much for this guide. It really helped for a novice programmer like me in configuring the Force.com Eclipse IDE tool with so much ease. Thanks again.
Thanks Pardha, glad that it helped.
Hi,
Thanks So much for your slides. Still have trouble with my connection with SF don’t understand why, I follow all your steps, but when I want to connect have an error message : (urn.partner.soap.sforce.com)returnfield dataTypeinvalid
Try to install kepler / mars / juno and different java version but still have trouble to connect with Salesforce, if you can help me it will be great 🙂
Thanks (sorry for my english i’m a french native speaker)
Hi Lynda,
Check this thread and see if you are hitting the same issue – http://salesforce.stackexchange.com/questions/105284/eclipse-project-properties-update-element-urnpartner-soap-sforce-comreturnf
Thank you, this is very helpful and informative. I followed your steps but when I try to download Classes and Triggers I get the error, “Out of Memory: Java Heap Space.” Any suggestions on how to solve this? Really appreciate it, thanks