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