Step By Step Guide to Install & Configure Force.com IDE on Eclipse

(06-Mar-2019: Salesforce has discontinued any future development on the Force.com IDE for Eclipse. For writing code on Salesforce, you should now switch to using Microsoft Visual Studio Code with the Salesforce Extensions Pack. And I have you covered there as well. Navigate to #How To Get Started with Visual Studio Code for Salesforce)

Here are the step-by-step instructions with screenshots on how to download, install, and configure the Force.com IDE on the Eclipse platform, connect to a Salesforce Org, and explore. In less than 30 minutes, you will have the IDE fully set up 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 code.

  1. In the Salesforce GUI in a browser

  2. In the Developer Console

  3. Use an IDE (Integrated Development Environment)

For simple, light development requirements, you can use the Salesforce GUI in a browser or the Developer Console. However, for heavy development and where you need to integrate with a source code repository and version control, using an IDE is a preferred option.

An IDE typically consists of an editor, build automation tools, a debugger, a syntax highlighter, intelligent code completion, etc., that make development much more efficient and faster.

One such IDE that you can use is the Force.com IDE, based on the 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 higher, 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.

References & Useful URLs