I have installed Tomcat 4.1.29. I have also installed jdk1.4 and have set the JAVA_HOME accordingly.
However, when I go to start Tomcat by running catalina.bat, it is giving the following error:
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
Using CATALINA_BASE: D:\jakarta-tomcat-4.1.29_svo
Using CATALINA_HOME: D:\jakarta-tomcat-4.1.29_svo
Using CATALINA_TMPDIR: D:\jakarta-tomcat-4.1.29_svo\temp
Using JAVA_HOME: D:\j2sdk1.4.2_10\bin
'-Dsun.io.useCanonCaches' is not recognized as an internal or external command,
operable program or batch file.