Related readings:
Java Zero Basic Tutorial: Illustration of how to install JDK in Windows
Official website download
You are in a Windows environment, so, open the browser and enter the address: http://tomcat.apache.org/download-70.cgi
Just select the corresponding...-bit Windows zip download.
Install
Find the ZIP package you downloaded and unzip it to the directory you think is suitable. In fact, this is the installation-free version.
start up
Enter the bin directory, find startup.bat and double-click it. This way, Tomcat is started. Now enter the address + port 8080 in the browser (default) to see:
It means that you have successfully started.
Register Service
Whether it is Linux or Windows, programs run in the form of services, but the services are different. We register Tomcat as a Windows service and it is also beneficial for our future use.
1. Enter the bin directory, press the Shift key, right-click, select here to open the command window, and the cmd command window is opened, and the directory is already under bin.
2. Then enter the installation command: service.bat install and press Enter. The following appears means that the installation has been successfully installed.
3. In the service, you will find a service named: Apache Tomcat 7.0 Tomcat7. This is the Tomcat service we just installed. We can set the startup type for it.
stop
Tomcat stops in Windows, no matter what method it starts, I think everyone knows how to stop it. ^_^
At this point, all operations of installing, starting, registering services, and stopping Tomcat under Windows system have been completed. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to everyone in time. Thank you very much for your support to Wulin.com website!