• 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

problem installing Tomcat

 
Ranch Hand
Posts: 4716
9
Scala Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yesterday i tried to install tomcat and accidentally overwrote my PATH instead of adding to it
this morning i got java to work again, but not tomcat.
CATALINA_HOME is set to C:\Program Files\Tomcat\apache-tomcat-7.0.47-windows-x64\apache-tomcat-7.0.47
JAVA_HOME is set to C:\Program Files\Java\jdk1.7.0_45
my PATH is now just C:\Program Files\Java\jdk1.7.0_45\bin;%CATALINA_HOME%\bin;
in comand prompt i type %CATALINA_HOME%\bin\startup.bat
i get a message that 'C:\Program' is not recognized.....
what am i doing wrong here???
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If a path contains spaces you need to surround it by double quotes.
 
Randall Twede
Ranch Hand
Posts: 4716
9
Scala Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks Ulf. i figured it out. since i set the path, at the command prompt i could type startup.bat instead of %CATALINA_HOME%\bin\startup.bat
the readme file(Running.txt) leaves a lot to be desired. tomcat is running now
 
See where your hand is? Not there. It's next to 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