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