Add to Java Background development

Source: Internet
Author: User
Tags tomcat server

Download the Java Environment installation package

Http://www.oracle.com/technetwork/java/javase/overview/index.html

Download the Eclipse Java EE version

Http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/oxygen1a

Download Tomcat and install (8.5)

https://tomcat.apache.org/download-80.cgi

Configure Tomcat

Https://www.cnblogs.com/kangy123/p/6307533.html

Configuration excerpt:

In Eclipse, click the menu bar window->preferences, click Server/runtime environments:

Select the server version and click the Add button

Go to Server Installation path selection (select Server installation directory)

In Eclipse , click the menu bar window->preferences , click java/build path/classpath Variables:

Click New to create a new directory reference, which is the Bin folder in the server Tomcat installation directory (all folders for jar files)

Next, add the User Libraries. Click java/build path/user Libraries:

Click on the "New ..." button to create a new User Libraries named Tomcat Server . Then click on the "add External JARs ..." button to select all the jars that we installed and use under tomcal/lib (Ctrl + A) and OK.

Create projects and Settings

In Eclipse Java EE , right-click in the blank area of Project Explorer on the left , and then tap new->dynamic Web Project :

Right-click on "Properties" in the project manager's current project root directory. Then, in the Project Properties dialog box that pops up, click "Java Build Path" andswitch to the Libraries tab.

Double click on "User Library",in the pop-up Add Library dialog box, select "Tomcat Server"and click "Finish" button.

Then switch to the Order and Export tab and select Tomcat Server . Complete the setup.

Add to Java Background development

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.