You are on page 1of 11

Configure Tomcat for Eclipse 3.

Open the Preferences dialog window.


The newly added Server element of the Preferences tree has 3 options. On the first two tabs we use
the defaults. On the Runtime Environments tab click Add.
Select the version of Apache Tomcat you have installed.

Check the Create a new local server box.

Click Next.
Enter your Tomcat installation directory information

Click Finish.
Right click on the server name and then select Open
Click on the “Open launch configuration” link.
No changes here.
You can provide program arguments and VM arguments if required.
Add the external JARs :

Eg-tibrvj.jar
Add the path to the directory where the source code resides as below.

Make sure you check the Search subfolders box before clicking OK.
No changes on the Environment and the Common tabs.

Click the Apply button

Click the OK button.

Save the file.

To start the server, right click on the server you wish to start and either select Start or Debug.

If you are going to step through the code you will need to select the Debug option.

You might also like