I have installed JDK 7 and tomcat 7 and set the following environment variables:
PATH: ......C:\Progra~1\Java\jdk1.7.0_51;F:\apache-tomcat-7.0.52-windows-x86\apache-tomcat-7.0.52\bin;
CATALINA_HOME: F:\apache-tomcat-7.0.52-windows-x86\apache-tomcat-7.0.52;
JAVA_HOME: C:\Progra~1\Java\jdk1.7.0_51;
JRE_HOME: C:\Progra~1\Java\jre7;
When I try to run the command catalina.bat
, it throws the following error:
The CATALINA_HOME environment variable is not defined correctly
This environment variable is needed to run this program.
when executing the command setclasspath.bat
, it's throwing the following error:
The JRE_HOME environment variable is not defined correctly
This environment variable is needed to run this program.
and when I try to execute the command service.bat
, the error is:
The tomcat7.exe was not found...
The CATALINA_HOME environment variable is not defined correctly.
This environment variable is needed to run this program".
And also when I try to execute %CATALINA_HOME%
from RUN
, the error message says:
Windows cannot find the path.
What could be the problem here?