ID #1188

## When I am trying to run tomcat using startup.bat I get the "The JAVA_HOME environment variable is not defined correctly" error.

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

*C:\Program Files\Java\jdk1.6.0_25\bin*. That is, without the bin folder.

Categories for this entry

Tags: defined, environment, error, java, not, tomcat, variable

Related entries: -

Last update: 2015-09-14 09:28