I am new to TomCat. I have a problem installing TomCat 4.1.18. I have Win2000, j2sdkee1.3.1. I am trying to start TomCat from install_dir/bin/startup.bat. I double click it, I get The JAVA_HOME environment variable is not defined This environment variable is needed to run this program Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp Using JAVA_HOME: "Cannot find the file '-Djava.endorsed.dirs='(or one of its components). Make sure the path and filename are correct and that all the required libraries are available.
In 'startup.bat', I have setup JAVA_HOME: if not "%JAVA_HOME%" == "" goto gotJavaHome set JAVA_HOME=C:\j2sdk1.4.0_02 :gotJavaHome Can anyone help me? Thank You.
OK.....I got Tomcat UP. the problem was that I was using jdk1.3 version....and the entry into CATALINA.BAT would not take this version of JDK. So, I downloaded 1.4, made changes to the 'BAT' file and started the Server. It owrked. I have seen in other posts that JDk1.3 could be a problem. But, some some suggested that the probelm could be elsewhere.... but, to me the problem is with the combination of TOMCAT 4.1.18 and JDK1.3...These two are some how not compatible.... Thanks a bunch guys...
You didn't tell me he was so big. Unlike this tiny ad: