Javaweb environment Construction and basic configuration

Source: Internet
Author: User

1, download and install the JDK under the path without spaces, otherwise there may be problems under Linux. To configure environment variables:

A, the new system variable--java_home, the value--d:\programming\java\jdk8//Win8 Jo Jian for the user variable is not recognized by the system%java_home%

b, the new system variable--CLASSPAHT, the value ——.;  %java_home%\lib;%java_home%\lib\dt.jar;%java_home%\lib\tools.jar; Don't forget the beginning of "."

C, update the environment variable--path or path, add--%java_home%\bin;%%java_home\jre\bin at the end; If there is no semicolon at the end, don't forget to add

d, configuration inspection: cmd under--java-version/java/javac

You can also not create java_home, replace all%java_home% with D:\PROGRAMMING\JAVA\JDK8

2. Download and install Tomcat. Inspection: http://localhost:8080

3. Download and install Eclipse. Configuration:

A, Window-->prefrences-->service-->runtime environment add Tomcat.

B, Window-->prefrences-->general-->web browser--> tick external--> add select default Browser

Javaweb environment Construction and basic configuration

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.