hi, I have installed tomcat as it is described. I have added Tomcat_home=c:\tomcat, JAVA_Home=c:\jdk1.3 and classpath=.;c:\tomcat\lib\servlet.jar;c:\tomcat\lib\jasper.jar;c:\java in my NT environment variables. I cd to c:\tomcat\bin on my dos windows and then type tomcat start. I Have an error:Unable to locate servlet.jar,check the value of tomcat_home. I don't understand the error. What can I do? can somebody help me,please? I don't know what's wrong. Plese help! Thanks, Nicole. ------------------
posted 14 years ago
first open wexplorer and check if you�r tomcat is really in a folder called tomcat than(this is not a requirement but i think it�s better for you) change the variable name to be all uppercase ex: set TOMCAT_HOME=c:\tomcat than use the variable to reference the servlet.jar directory: set classpath=.;%TOMCAT_HOME%\lib\servlet.jar;
do the same with the JAVA_HOME: set JAVA_HOME=c:\jdk1.3 and don�t forget to point to tools.jar in your classpath variable: set classpath=.;%JAVA_HOME%\lib\tools.jar;%classpath% hope it helps.