Installing Eclipse

First, install Java if you haven't already. Then download the Eclipse SDK to a temporary directory. Use your archive program to unpack Eclipse into a permanent directory. There are no setup programs and no registry values to deal with.

After you have unpacked the SDK, you should have a subdirectory called eclipse, which in turn has directories in it such as plugins and features. If you don't see these, check the settings on your archive program. A common mistake is to unpack Eclipse in such a way that its directory structure is not preserved. Eclipse won't run unless you unpack it with the exact directory paths that exist in the archive.

3, 2, 1, Launch!

You are now ready to launch Eclipse. Inside the eclipse directory, you'll find a launcher program for the IDE called, strangely enough, eclipse (or eclipse.exe). Invoke that program to bring up the IDE.

Tip

On Windows, you may find it convenient to create a desktop shortcut to launch Eclipse.

Specify a Workspace

The first time you start Eclipse, you will be prompted for the location of your workspace. The workspace is the location where your source code and other files and settings will be stored on your workstation. Specify a permanent location—somewhere not in your install directory—preferably a location that will be backed up regularly.

Putting the workspace in a different place from where you installed Eclipse makes upgrades easier. See the "Getting Upgrades" section, later in Part I, for more information.

Get Eclipse IDE Pocket Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.