1. Eclipse

Source: Internet
Author: User

1. Install Java 32-bit Jdk-7u79-windows-i586-20151024.rar

Http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

2. Installing Apache Apache-tomcat-6.0.44-windows-x86.zip

http://tomcat.apache.org/download-60.cgi

3, Configuration: http://jingyan.baidu.com/article/86f4a73e5be03237d65269ef.html

1) Create a new system variable

Variable name: Java_home variable Value: C:\Program files\java\jdk1.7.0 (This is the path you have when you install the JDK, change it to your own directory)

2) then find the classpath in the system variable, and then create a new one. (case insensitive)

Add this path to the front of the variable value ——.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar;

Note: There is a dot and semicolon at the front

3) then find the path in the system variable, and then create a new one. (case insensitive)

Add this path to the variable value inside the--%java_home%\bin;%java_home%\jre\bin;

Note that it is best to add to the front

4)

Verify that the JDK is installed and configured successfully

Shortcut key--win+r: Enter CMD to open a command prompt

Input Java-version, enter

Input Javac-version, enter

If the following information appears, the installation and configuration is successful!

5) Tomcat

The next step is to configure the environment variables, open the environment variables above, not repeat.

Then create a new three system variable:

tomcat_home=e:\tomcat-6.0.39

catalina_home=e:\tomcat-6.0.39

catalina_base=e:\tomcat-6.0.39

Add%tomcat_home%\lib\servlet-api.jar to Classpath in the end;

Add%catalina_home%\bin to the top of path;

Note: The order does not affect

At this point, the configuration work is complete! Open the Bin folder, double-click Startup.bat

It will automatically open the following console interface.

Do not close the console interface, open the browser, enter http://localhost:8080

A Tomcat Web page appears, proving that the installation and configuration were successful!

Close the console and close the Tomcat service by shutting down the console

1. Eclipse

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.