When I am trying to run tomcat using startup.bat I get the following error,
The JAVA_HOME environment variable is not defined correctly
This env
First Run the tomcat directly through the tomcat /bin folder with
startup.bat if running sucessful the set the variable as below sample
JAVA_HOME value : C:\Program Files\Java\jdk1.6.0_32;
path: C:\Program Files\Java\jdk1.6.0_32\bin;
CATALINA_HOME=C:\Program Files\Apache Software Foundation\Apache Tomcat 7.0.27 ;
PATH=%PATH%;%JAVA_HOME%\bin;%CATALINA_HOME%\bin;
if needed CLASS_PATH:%CATALINA_HOME%\lib;%JAVA_HOME%\lib;