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:
-
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.
-
Preferences for csse 220
-
Preferences for csse 221
-
Preferences for csse 230
-
Import the preferences
- Launch Eclipse
- If Eclipse offers to Select a workspace,
browse to C:\EclipseWorkspaces\csse220.
Click the workbench arrow.
- Otherwise,
choose File → Switch Workspace → Other…,
and browse to the folder.
- Now you are ready to set the preferences for that workspace:
- Choose
File → Import....
- In the
Import
dialog box, select
General → Preferences
and click
Next.
- In the Import Preferences dialog
that opens, select Browse
and select the EclipsePreferences-2011-06.epf
file that you unzipped and saved
above.
- Back in the Import Preferences dialog,
check Import all, then
select Finish.
- As before, if the Subclipse
Usage dialog makes an
appearance, uncheck the box
and continue.
- Confirm that the installation
did not leave behind an unintended
files by checking whether there are:
- A random .eclipse
folder anywhere,
possibly in the
folder immediately
above
My Documents.
- Any extra users
(for example, you,
the installer) in
C:\Users.
- Extra Eclipse
workspaces anywhere
except for the
folders inside
C:\EclipseWorkspaces.