Java WEB Environment Setup steps (ultra-detailed, including pre-installation steps)

Source: Internet
Author: User

Java WEB Environment Setup Steps

    1. Install the corresponding version of the JDK
    2. Configuring Environment variables

I installed the path is C drive, add C:\Program files\java\jdk1.8.0_65\bin in Path

Test configuration succeeded, cmd input javac, display the following interface:

    1. Installing Tomcat

I installed the version is 7.0. version

    1. Test whether the installation is successful, enter http://localhost:8080/in the browser

Display, for example, indicates a successful installation.

5. Start the Tomcat server in eclipse

1) First, select the preferences below the window

2) Locate the runtime environment below the server and click the Add button on the right

3) Choose the same version of Tomcat that you installed

4) Set up the Tomcat installation directory

5) Successful Installation

6. Create a Javaweb program and choose New----Dynamic Web Project

7. How to publish a Web program in Elipse

1) Click Sever, right click on new---Server

2) Select Next and click Add to Project

3) Start Tomcat

4) testing in the browser

http://localhost:8080/lp/main.jsp

Java WEB Environment Setup steps (ultra-detailed, including pre-installation steps)

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.