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