i have installed tomcat 6.0.20 today,after trying to run (startup.bat) at http://localhost:8080 it does not run
so i tried to change the connector port(in server.xml) but nothing happened , neither did i get a log message .
i have read somewhere to check the error by running catalina so i did and got the message below at command prompt :
according to error, JAVA_HOME should point to JDK , but path given is E:\Program Files\Java\jdk1.6.0_14 where it went wrong
morever i have set JAVA_HOME environment variable by
tomcat installed in : C drive
jdk installed in : E drive
so where lies the error everything is set to work ???
Do Right , Fear No Man
Joined: Mar 03, 2008
Windows restart may help
Joined: Feb 16, 2009
Misha Ver wrote:Windows restart may help
still same problem , restarting didn't help .
Kees Jan Koster
Joined: Mar 31, 2009
Check that you have set JAVA_HOME with quotes, because of the space in the path name. Thus:
C:\> SET JAVA_HOME="E:\Program Files\Java\jdk1.6.0_14"