Tomcat7.0 Download: http://tomcat.apache.org/download-70.cgi
Select the version to meet the (native win8-64 bit systems) own operating system, the options are as follows:
Once downloaded, unzip to a local environment, native unzip to D: \ tomcat.
Tomcat need to set environment variables:
- JAVA_HOME: jdk installation path (native D: \ Java \ jdk1.7;)
- JRE_HOME: jre installation path (native D: \ Java \ jdk1.7 \ jre;)
- TOMCAT_HOME:D:\tomcat
- CATALINA_HOME:D:\tomcat
- CLASSPATH: Add D: \ tomcat
Run -> Cmd-> into the tomcat file -> bin-> startup.bat
At this time there are problems that you may encounter:
- Tip: JAVA_HOME not found
- Tip: JRE_HOME not found
Solution: Find setclasspath.bat, right in the edit bin, add the following two lines set up at the beginning:
set JAVA_HOME=D:\Java\jdk1.7
set JRE_HOME=D:\Java\jre7
Again run startup.bat, not prompt other errors.
Open HTTP: // localhost: 8080 / , you will see a welcome screen.
Reproduced in: https: //my.oschina.net/secyaher/blog/274496