java使用jre 1.8 windows版本,java
tomcat采用6.x版本,设置完java_home,path,始终显示shell
D:\apache-tomcat-6.0.45\bin>startup.bat The JAVA_HOME environment variable is not defined correctly This environment variable is needed to run this program NB: JAVA_HOME should point to a JDK not a JRE
改成tomcat1.8版本便可,apache
1.6版本还须要设置catalina_home等。windows