I've installed Tomcat 4.0.. and it's in c:\Program Files\Jakarta Tomcat 4.0.. When i run the startup.bat inside bin it gives me the following error.. Cannot find the file 'c:\jdk1.2.1;bin\java'(or one of its components). Make sure the path and filename are correct and all required libraries are available.. My autoexec.bat is as follows: set classpath = c:\JSDK2.0\lib; set classpath = %CLASSPATH%;c:\JSDK2.0\lib\jsdk.jar; set JAVA_HOME = c:\jdk1.2.1; set JAKARTA_HOME=c:\Program Files\Jakarta Tomcat 4.0; set path = c:\jdk1.2.1\bin;c:\jdk1.2.1\lib;c:\jdk1.2.1\lib\tools.jar;c:\jdk1.2.1\jre\lib\ext; Pls help me.. Thanks in advance.. Pranit..
Author and all-around good cowpoke
posted 14 years ago
Looks to me like it is the ; in the line setting JAVA-HOME that is causing you trouble. c:\jdk1.2.1; Also, I STRONGLY recommend not installing any Java program in a directory that contains spaces, it is the source of endless trouble. Are you sure they want JAKARTA_HOME ? In the beta tests it was CATALINA_HOME. Bill ------------------ author of: