

You need Tomcat when you want to deploy and execute a Java application that is written in any of the Java technologies including Java Servlet, JSP, etc. Type in sudo service tomcat7 start and then hit Enter : You will receive the following message indicating the server is started: To stop the Tomcat server, type in sudo service tomcat7 start and then hit Enter in the original terminal window:Īpache Tomcat is an open source Java server. How to Start and Stop Apache Tomcat from the Command Line (Linux) Start a Terminal window from the menu bar. Then you can select that path and run it from command prompt. If it is installed it will give you the directory where it is installed. You can search if tomcat is installed on your machine.

