
You can create shortcuts of these batch files on the desktop or inside Startup Menu for easily starting and stopping Tomcat server whenever required. You will find two batch files with names startup.bat and shutdown.bat. Note for people familiar with the Unix version of Apache: these commands provide a Windows equivalent to kill -TERM pid and kill -USR1 pid. Start and Stop Tomcat Server on Windows 10, 8 and 7Īfter successful installation, go to BIN folder directly under Tomcat folder. To restart Apache, either press Control-Break in the console window you used for starting Apache, or enter. This is how we did install Tomcat Server on Windows 10, Windows 8 and Windows 7 operating systems. Setup CATALINA_HOME variable path as C:\Tomcat8 which is my Tomcat installation path. Or setup JRE_HOME variable path as C:\Program Files\Java\jre1.8.0_131 in my case. Setup JAVA_HOME variable path as C:\Program Files\Java\jdk1.8.0_131 in my case. If you change any deployed files, you may need to restart the server.įollow the Java Environment Setup in Windows Tutorial to setup JAVA variables globally.


To learn how to start and stop Apache Tomcat from the command line in a Windows environment, follow these five steps: How to Start and Stop Apache Tomcat from the Command Line (Windows) See Apache: Tips and Tricks for similar articles.Īpache Tomcat can be started and stopped from the command line.
