wood burning stoves 2.0*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Pls make my Tomcat Running.." Watch "Pls make my Tomcat Running.." New topic
Author

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..
Pranit..
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
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:
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Pls make my Tomcat Running..