The following is a record of the Win7 (32-bit) system, the installation of the Zip decompression version of the method:
First, download the ZIP archive package
Address: http://tomcat.apache.org/download-80.cgi
Second, decompression
I unpacked the decompression package on the D disk, the specific path is: D:\Java ide\apache-tomcat-8.0.39
Third, configure JDK to Tomcat
There are two files in the bin directory under the Tomcat installation directory, Startup.bat and Shutdown.bat,
Use Notepad to open, append a new line to the next line of "@echo off" in the first row, and add "SET java_home=d:\jdk1.8.0_111"
This is my JDK installation path, and I have added this variable to the environment variable.
Iv. opening and closing of Tomcat
At this point, the Startup.bat file is used to open the Tomcat,shutdown.bat file to close Tomcat,
You can also add the path of the bin directory to the environment variable in order to use command-line operations by double-clicking the mouse.
When Tomcat is started, Tomcat runs, and the cmd window pops up and is accessible in the browser: http://localhost:8080
If the following screen appears, the configuration is successful.
Here's how to configure Tomcat in Eclipse and add a Web project:
Click on the toolbar above Eclipse Window=>show View=>servers, the following window appears below, and in the blank place right-click New=>server
Click Finish.
Then create a new Dynamic Web project with target runtime to select the new server in the previous step
Finally, when the project is finished, the project is added to the server when the debugging is running.
Cond...
Windows Tomcat Zip Decompression installation method