Install JDK
Download jdk5.0update6
Install JDK. default path: C:/program files/Java/jdk1.5.0 _ 06
Then configure the environment variable
Right-click my computer> Properties> advanced> Environment Variables
Find the path "variable" in "system variables" and click the edit button.
Then add C:/Java/jdk1.5.0 _ 06/bin to the variable value;
Create an environment variable in "system variables"
Enter classpath in "variable name"
Enter C:/Java/jdk1.5.0 _ 06/lib in "variable value ".
Click OK.
Create an environment variable in "system variables"
Enter java_home in "variable name"
Enter C:/Java/jdk1.5.0 _ 06 in "variable value"
Click OK.
So OK.
Enter Java-version in the console
If the JDK version is displayed, the installation is successful.
Install Tomcat
Download tomcat5
Assume that the default installation path is C:/program files/Apache Software Foundation/tomcat 5.5.
During installation, you will be asked to select the server port. If there are no other servers, the default 8080 is used.
Configure the environment variables below
Right-click my computer> Properties> advanced> Environment Variables
Find the path "variable" in "system variables" and click the edit button.
Then add C:/program files/Apache Software Foundation/tomcat 5.5/bin to the variable value;
Create an environment variable in "system variables"
Enter catalina_home in "variable name"
Enter C:/program files/Apache Software Foundation/tomcat 5.5 in "variable value ".
Click OK.
Access http: // localhost: 8088/in IE/
In this case, a web page is displayed in the browser with a kitten. This indicates that Tomcat is successfully installed.