• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Pls make my Tomcat Running..

 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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;
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hai,
add to the autoexec file
set ANT_HOME=c:\Program Files\Jakarta Tomcat 4.0
also
 
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..


 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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


 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic