Hi All,
I am trying to learn creating
servlets through textpad. But the problem is that I am unable to start
tomcat through windows command prompt.
I have installed
java in C:\Program Files\Java\jdk1.6.0_37
I have configured my system variables as:
variable name: JAVA_HOME
variable value: C:\PROGRA~1\Java\JDK16~1.0_3
variable name:path
variable value:C:\Program Files\Java\jdk1.6.0_37\bin
when i go to C:\apache-tomcat-6.0.36\bin and run startup.bat it gives me following error
C:\apache-tomcat-6.0.36\bin>startup
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
The same works fine through Eclipse Europa.
Please help because I have already tried many links on google for the same and could nt find the solution that works for me
Thanks