How to Configure Eclipse for Java

Rose-Hulman Institute of Technology –
Computer Science & Software Engineering

Overview

Once you have installed Eclipse, follow these directions to configure it to develop code in Java.

Configuring Eclipse for Java

Follow all of the following steps to configure Eclipse on Windows for Java:

  1. Download Eclipse preferences  (The standard laptop build should have imported these preferences into all four prebuilt Eclipse workspaces)
      Unzip the correct Eclipse preferences file for your course from the list below, placing its sole unzipped file (e.g., EclipsePreferences-2011-06.epf) in any convenient folder.
    1. Preferences for csse 220
    2. Preferences for csse 221
    3. Preferences for csse 230
  2. Import the preferences
    1. Launch Eclipse
      1. If Eclipse offers to Select a workspace, browse to C:\EclipseWorkspaces\csse220. Click the workbench arrow.
      2. Otherwise, choose File → Switch Workspace → Other…, and browse to the folder.
    1. Now you are ready to set the preferences for that workspace:
      1. Choose File → Import....
      2. In the Import dialog box, select General → Preferences and click Next.
      3. In the Import Preferences dialog that opens, select Browse and select the EclipsePreferences-2011-06.epf file that you unzipped and saved above.
      4. Back in the Import Preferences dialog, check Import all, then select Finish.
      5. As before, if the Subclipse Usage dialog makes an appearance, uncheck the box and continue.
      6. Confirm that the installation did not leave behind an unintended files by checking whether there are:
        1. A random .eclipse folder anywhere, possibly in the folder immediately above My Documents.
        2. Any extra users (for example, you, the installer) in C:\Users.
        3. Extra Eclipse workspaces anywhere except for the folders inside C:\EclipseWorkspaces.