Sunday, May 19, 2002 10:41 AM
Microsoft Windows is very "picky" about definitions of environment variables. If the above text is exactly correct (i.e. copied from the
autoexec.bat file), the
CATALINA_HOME environment variable did not "take" because of the space following the equals sign.
Change the line to:
and it should work fine.
Note that any spaces in the
SET command other than the one following the word
SET will cause the command to fail (i.e. before or after the equals sign and even at the end of the line right before the line feed). If you need spaces inside a directory name, the value should be enclosed in quotes, i.e.
SET CATALINA_HOME="C:Tomcatjakarta tomcat"