Two Laptop Bag*
The moose likes Tomcat and the fly likes The CATALINA_HOME environment variable is not defined correctly Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "The CATALINA_HOME environment variable is not defined correctly" Watch "The CATALINA_HOME environment variable is not defined correctly" New topic
Author

The CATALINA_HOME environment variable is not defined correctly

Janu Rani
Greenhorn

Joined: Nov 30, 2013
Posts: 1
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

Joined: Jun 25, 2001
Posts: 16022
    
  20

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The CATALINA_HOME environment variable is not defined correctly