• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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;
Pls help me.. Thanks in advance..
Pranit..
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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:
 
Ruth Stout was famous for gardening naked. Just like this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic