Getting Started with Tomcat 7 on Windows

example of adding a cert to the CA store

Note: keytool is located on the JRE bin folder

keytool -import -alias -keystore "C:\Program Files\Java\jre1.8.0_151\lib\security\cacerts" -storepass changeit -file C:\X-Support\Certificates\mycaserver-root-Base64.cer

Keystores most common commands

CVP Security Guide (uses a lot of keystore commands

  • Download JRE 1.6 or JDK 1.6
  • Set the environment Variable JAVA_HOME if using a JDK
  • Set the environment variable JRE_HOME if using the JRE


JRE_HOME=C:\Program Files\Java\jre6
  • Download Tomcat 7 and put it to a folder of your choice.
  • Run Startup.bat (located in the /bin folder) to start up tomcat manually
  • To install as a Windows service, run the batch file service.bat and then update parameters as required by executable /bin/tomcat7w.exe.


service.bat install

Tomcat with IIS redirector

How to install tomcat on Ubuntu

  • Command to run tomcat in foreground - ./ run
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies