File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring 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;
parvez kmp
Greenhorn

Joined: Sep 13, 2001
Posts: 4
hai,
add to the autoexec file
set ANT_HOME=c:\Program Files\Jakarta Tomcat 4.0
also
Bal Sharma
Ranch Hand

Joined: Sep 19, 2001
Posts: 273
Pranit:
You have c:\JSDK2.0\lib; right! What is this? Is this Java Servet Developmet Kit? I do not know there might some conflict. Get rid of it. Once you have tomcat, I think you do not need any thing other than your jdk1.2. Please go through tomcat docs, read all tomcat4\BUILDING, tomcat4\RUNNING, tomcat4\README and tomcat4\webapps\tomcat-docs\*.*
you will know how to run it. Good Luck. BK


I've installed Tomcat 4.0.. and it's in c:\Program Files\Jakarta Tomcat 4.0..

VS Prapoorna
Greenhorn

Joined: Oct 13, 2001
Posts: 22
hi Pranith,
plz. change the statement "set JAVA_HOME = c:\jdk1.2.1;" as
"set JAVA_HOME = c:\jdk1.2.1" and JAKARTA_HOME as
"set JAKARTA_HOME=c:\Program Files\Jakarta Tomcat 4.0"
in your autoexec. this is what i understand from the error.
regards,
Sarada Prapoorna.V
Pranit Saha
Ranch Hand

Joined: Sep 09, 2001
Posts: 130
Hi Prapoorna,
First of all thanks a lot for ur help.. after a long time i made my Tomcat running.. the prob was for that ";" only.. really it's a great gain to make this running.. again thanks a lot..
Pranit..
Originally posted by vs prapoorna:
hi Pranith,
plz. change the statement "set JAVA_HOME = c:\jdk1.2.1;" as
"set JAVA_HOME = c:\jdk1.2.1" and JAKARTA_HOME as
"set JAKARTA_HOME=c:\Program Files\Jakarta Tomcat 4.0"
in your autoexec. this is what i understand from the error.
regards,
Sarada Prapoorna.V

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Pls make my Tomcat Running..