How to configure Tomcat in windows 7?

Asked

Viewed 1,696 times

3

How to set up Tomcat 7 in windows 7?

You need to configure java environment variables?

1 answer

1

Old programmer,

To set up Tomcat in windows environment follow these steps:

Download tomcat 7

Download Java+ JDK (if you will develop)

Java configuration

The installation of Java does not have much secret, choose the desired location and install it. After the end it is necessary to indicate where it is installed for windows :

My Computer > Properties > Advanced System Settings > environment variables > new :

inserir a descrição da imagem aqui

Variable name : JAVA_HOME

Variable value: The path where it is installed.

Tomcat configuration

Usually for my tests I install as a service in windows, but if you prefer just unzip the file and put where you want. Choose the ports that Tomcat will use, the default is usually 8080 but you can change this in Tomcat manager.

Tomcat also needs to be placed in the environment variables, follow the same steps until you get to environment variables and click new:

inserir a descrição da imagem aqui

Variable name: CATALINA_HOME

Variable value: path to tomcat7 folder

With this your Tomcat can already run normally in windows environment, remembering that the configuration is the same for windows xp,vista,7,8 e 8.1

  • How hard, how much configuration, doesn’t have some . msi that gives a click and the service is already running ? I will continue with Tomcat on linux even then rssrsrsr

  • @Sneepsninja, there is no secret in setting, at most in 10 minutes you are coding.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.