This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pls make my Tomcat Running..

 
Pranit Saha
Ranch Hand
Posts: 130
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai,
add to the autoexec file
set ANT_HOME=c:\Program Files\Jakarta Tomcat 4.0
also
 
Bal Sharma
Ranch Hand
Posts: 273
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 130
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic