java使用jre 1.8 windows版本,
tomcat采用6.x版本,设置完java_home,path,始终显示
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版本即可,
1.6版本还需要设置catalina_home等。