The work and configuration of the Eclipse deployment project

Source: Internet
Author: User

  1. Configure Tomcat

    Configuring the JDK

    Building projects

    Guide Jar Package

    Here is an example of configuring Tomcat 6.0 to open eclipse

  2. 2

    Select the runtime environments under server:

  3. 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. 4

    After next enter:

  5. 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:

  6. 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:

  7. If the JDK is already configured here, directly select OK, and if not configured, click "Add" on the right to add a standard JRE

  8. Next, click the Directgry on the right to browse the local file system and locate the JDK's installation directory.

  9. Okay, OK –finish, next, finish. Such as:

  10. Project new, add jar package, run; Generally we use this tool to do Web projects, build a Dynamic Web project:

  11. 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:

  12. 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.

  13. Eclipse for Java EE differs from MyEclipse on how to run a Web project

  14. Enter to find the server we configured:

  15. Next–> finish.

The work and configuration of the Eclipse deployment project

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.