Java Environment Installation Manual

Source: Internet
Author: User

1. JDK1.1. Download JDK

1.2. Installing the JDK

JDK Installation path: C:\Java\jdk1.7.0_79\

JRE Installation path: C:\Java\jre7

1.3. Environment variable Configuration

Computer → properties → advanced system settings → advanced → environment variables. The environment variable settings are set under System variables. Includes Java_home, PATH, CLASSPATH.

java_home=c:\java\jdk1.7.0_79

Path=%java_home%\bin;%java_home%\jre\bin;

Classpath=.; %java_home%\lib;%java_home%\lib\tools.jar

Note that the original path of the variable value at the end of the number, if not, enter first, and then enter the above code.

1.4. Check the JDK version

Open the cmd Command window. Run Java-version. If the version information is displayed, the installation and configuration are successful.

2. Tomcat2.1. Download Tomcat

2.2. Install Tomcat

Unzip the tomcat package to the specified directory D:\DEVELOP\TOMCAT7, the name of the folder cannot appear with special characters such as spaces.

2.3. Configure Tomcat

Open the D:\Develop\tomcat7\conf folder. Edit the Server.xml file. Find the connector property in Server.xml and add uriencoding= "UTF-8".

Java Environment Installation Manual

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.