I've downloaded Tomcat4.0 and installed it in c:\program files\Jakarta Tomcat4.0.. Now when i click on "Start Tomcat" the command prompt comes and goes off with blank.. And when i double click on startup.bat the error comes as follows: cannot find the file 'c:\jdk1.2.1\bin;c:\jdk1.2.1\bin\java.exe;bin\java'(or one of its components). Make sure the path and filename are correct and that all required libraries are available.. My autoexac.bat is as follows: set classpath = c:\JSDK2.0\lib; set classpath = %CLASSPATH%;c:\JSDK2.0\lib\jsdk.jar; set path = c:\jdk1.2.1\bin;c:\jdk1.2.1\lib; set JAVA_HOME = c:\jdk1.2.1\bin;c:\jdk1.2.1\bin\java.exe; set TOMCAT_HOME = c:\Program Files\Jakarta Tomcat 4.0; Now what's wrong here and what next i need to do to run this.. pls help.. Thanks in advance.. Pranit..
If you are on Win98, look at the memory part of the properties of your bat file. The memory settings are usually set to auto. Play around with them by increasing them untill your startserver will run without automatically closing. I cant remember the best settings as I am at work. Play around with it...
i have the classpath and path set as follows on my computer. PATH D:\JDK1.3.1\BINset CLASSPATH=.\;D:\JDK1.3.1\LIB\TOOLS.JAR\; set JAVA_HOME = d:\jdk1.3.1 SET TOMCAT_HOME = D:\TOMCAT see if that helps especially the \.Also on my computer(Win 98) I have to restart my computer for classpath to take effect. also I dont remember exactly but I also had to start and save the .bat files in a standard dos editor.That really got my tomcat working.Also i have version 3.1 . i hope this helps.Frankly speaking I am also in the learning stages [This message has been edited by rup desai (edited October 08, 2001).]