• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

The CATALINA_HOME environment variable is not defined correctly

 
Janu Rani
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am trying to configure Tomcat, even though I have set below paths. Still am getting

"The CATALINA_HOME environment variable is not defined correctly" error, unable to start the tomcat.

PATH: C:\Program Files (x86)\Java\jdk1.6.0_07\bin;
CATALINA_HOME:C:\apache-tomcat-6.0.37-windows-x64\apache-tomcat-6.0.37;
CLASSPATH:C:\Program Files (x86)\Java\jre1.6.0_07\bin;

could any one please provide suggestion to correct above error.

Thanks in advance,
Janu
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18212
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Jani!

It looks like you are putting "CATALINA_HOME" in your command shell path.

That is not how it works.

CATALINA_HOME is an environment variable. You set it like this, when running Tomcat in Windows:


Adjust these values as needed to point to your actual Tomcat and JDK directories.

Your PATH does not need to define or reference either CATALINA_HOME or the JDK, since the CATALINA_HOME\startup.bat script and its related scripts use whatever values were set in the environment variables.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic