Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Servlets and the fly likes Pls make my Tomcat Running.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Pls make my Tomcat Running.." Watch "Pls make my Tomcat Running.." New topic

Pls make my Tomcat Running..

Pranit Saha
Ranch Hand

Joined: Sep 09, 2001
Posts: 130
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..
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12911
Looks to me like it is the ; in the line setting JAVA-HOME that is causing you trouble.
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.
author of:
I agree. Here's the link:
subject: Pls make my Tomcat Running..