Tomcat is not running even though JAVA_HOME path is correct
问题 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 environment variable is needed to run this program NB: JAVA_HOME should point to a JDK not a JRE But then I try C:\>echo %java_home% and I get the following result C:\Program Files\Java\jdk1.6.0_25\bin I have even tried setting JAVA_HOME manually to system variable list, but this issue remains. What can I do to solve it? I am using Windows 7. Update