Configure Tomcat
Configuring the JDK
Building projects
Guide Jar Package
Here is an example of configuring Tomcat 6.0 to open eclipse
- 2
Select the runtime environments under server:
- 3
Click on the "Add" button on the right, enter the "New Server Runtime Environment" dialog box, select the version of Tomcat we want to configure, here is the Tomcat v6.0, note that you want to match the version you downloaded.
- 4
After next enter:
- 5
From the browse button on the right side of Tomcat installation directory, click on it, go to the Local disk directory, select your Tomcat installation directory, as follows:
Once you are sure, go back to that dialog box and click on the Installed JREs button on the right side of the JRE to enter the interface:
If the JDK is already configured here, directly select OK, and if not configured, click "Add" on the right to add a standard JRE
Next, click the Directgry on the right to browse the local file system and locate the JDK's installation directory.
Okay, OK –finish, next, finish. Such as:
Project new, add jar package, run; Generally we use this tool to do Web projects, build a Dynamic Web project:
Enter the interface, enter the project name in Project name, named "HelloWorld", and select the Tomcat 6.0 server we configured earlier in target runtime. Such as:
about how to introduce the external jar package into our project, this is actually very simple, copy those jar files, right-click in the Lib directory.
Eclipse for Java EE differs from MyEclipse on how to run a Web project
Enter to find the server we configured:
Next–> finish.
The work and configuration of the Eclipse deployment project