i am having troble in installing tomcat 4.1.12 my desktop has the folder Tomcat 4.1 my OS is win 98 my autoexec.bat is set JAVA_HOME=C:\jdk1.3.0_02 set CATALINA_HOME=C:\WINDOWS\DESKTOP\"Tomcat 4.1" set CLASSPATH=C:\jdk1.3.0_02\bin;C:\jdk1.3.0_02\lib;C:\jdk1.3.0_02\jre\lib PATH= C:\orawin95\bin;c:\jdk1.3.0_02\bin
and still when i click on the startup.bat shortcut the Dos window says: The CATALINA_HOME environment variable is not defined correctly This environment variable is needed to run this program please could some tell me what should i do madhur.
posted 13 years ago
Sudhir, If you have tomcat installed at C:\WINDOWS\DESKTOP\Tomcat 4.1 then your CATALINA_HOME setting should be like this set CATALINA_HOME=C:\WINDOWS\DESKTOP\Tomcat 4.1 No Quotes. It is always advisable to not have spaces in the path when dealing with java. NOTE: Setting CATALINA_HOME is optional. Don't set CATALINA_HOME and run tomcat from from BIN folder using startup command.