STEP 5: Configure Eclipse
  1. Start Eclipse by clicking eclipse.exe in the dir C:\eclipse, it will pop up a window (See picture 1),select directory for putting your project and then click ok. 
  2. Select Window<Preferences

3. Select the Java option from the left hand tree view. Expand the Java element and select Installed JRE's.

4. Click "Add" and navigate to the JRE directory of the SDK (C:\j2sdk1.4.2_05\jre) .Input JRE name and click "OK".

5.Check the check box beside the JRE that you just added from the SDK you installed, as shown below. This sets this JRE as the default JRE to be used by Eclipse. You must do this for the Tomcat plugin to work. The Tomcat plugin requires that an SDK be the default JRE selected in these Eclipse preferences.

6. Set the Tomcat plugin preferences. First, select Tomcat from the left tree menu, then check Version 5.x, then click Browse to select Tomcat home (C:\jakarta-tomcat-5.0.28).

7. Select JVM Settings from the left tree menu, add tools.jar to Classpath.Then click OK.

 

 

 

 

 

 

 

 

 

 

 

3.