Someone asked me how to install and configure Tomcat in windows. I 'd like to talk about a bunch of web pages. For convenience, I 'd like to paste 1 here. first download the java jdk from the official website and install it to the specified directory, such as c: \ Java 2. configure the java environment variables in my computer-> properties-> advanced-> environment variables-> system variables Add the following environment variables JAVA_HOME = C: \ Java \ jdk1.6.0 _ 02 classPath = .; % JAVA_HOME % \ lib \ dt. jar; % JAVA_HOME % \ lib \ tools. jar ;(. represents the current path; separator) path = % JAVA_HOME % \ bin now the java environment configuration is complete, start testing Hello. java public class Hello {public static void main (String args []) {System. out. println ("Java Envir is OK. ") ;}} then open Command Prompt window, cd to your Hello. in the directory where java is located, and then type the following command javac Hello. java Hello if no error is reported and "Java Envir is OK" is successfully printed. "It proves that the java environment variable is complete 3. tomcat configuration download tomcat to the directory you specified to decompress (E: \ tomcat6) configure environment variables in my computer-> properties-> advanced-> environment variables-> system variables Add the following environment variables atat_home-> E: \ tomcat6 and then modify the classPath in the environment variables, run the servlet in common \ lib under the tomat installation directory. jar is appended to classpath. The modified classpath is as follows: www.2cto.com .; % JAVA_HOME % \ lib \ dt. jar; % JAVA_HOME % \ lib \ tools. jar; % atat_home % \ common \ lib \ s Ervlet. jar; start tomcat (run startup. bat or run catalina. bat) the tomcat command line window is displayed and a bunch of startup information is automatically output. The last line is "Server startup in xxx ms ". it indicates that the startup is successful. The http: // ip: 8080 test should be okay !! Done !!!!!!!! Just so easy.