Eclipse

Download: www.eclipse.org/downloads/index.php

Installed Java JREsStraightforward download. Install in C:\Program Files\. The extractor will create the Eclipse subdirectory. Eclipse takes quite a while to load up (especially the first time) so be patient. It will create a workspace and ask you to confirm it.

Download the “Eclipse IDE for Java EE Developers” version (212 megabytes). Other versions may not have the built-in server view which is very helpful.

You must configure Eclipse to recognize the Java JDK you installed previously rather than the Java JRE Eclipse installs as the default. First, in Eclipse, select Window --> Preferences --> Java --> Installed JREs. Select Add on the Preferences page (see screen capture on the right).

In the Edit JRE window (shown below) enter “JDK” (or anything that makes sense) in the textbox marked JRE name (remember, the JDK includes a JRE in its structure). Use the browse button across from JRE home directory to navigate to the Java JDK directory from above (the default is C:\Program Files\Java\jdk1.7.0_01).

Back to the previous window and select the checkbox for the Java JDK you just added. As the window instructions note -- Eclipse will now use the JDK by default.

Once Eclipse is installed go to Help --> Welcome. There are several valuable help files including tutorials to acquaint you with Eclipse.

Eclipse Edit JRE


Eclipse and Vista / Windows 7 Security

This is similar to the comments in the Tomcat section above. Vista with User Account Control (UAC) running causes a problem. Vista and Windows 7 normally run everybody -- including administrators -- in a non-administrative role. This provides additional security and makes it more difficult for intruders to run programs requiring administrative privileges. You can right click on the Eclipse desktop shortcut if you made one and chose “Run As Administrator”.

For a more permanent solution, right-click on the shortcut and chose “Properties --> General --> Advanced” and check the box to run the program as administrator.