File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes 'C:\tomcat' is not recognized as an internal or external command Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark " Watch " New topic
Author

'C:\tomcat' is not recognized as an internal or external command

flier4441
Greenhorn

Joined: Sep 12, 2007
Posts: 3
this is the display...
I am tryin to run startup.bat from the webapp dir in my case it is equinox

C:\Source\equinox-1.0\equinox>%CATALINA_HOME%\bin\startup.bat

'C:\tomcat' is not recognized as an internal or external command,
operable program or batch file.

I found a part of the answer at
http://mail-archives.apache.org/mod_mbox/tomcat-users/200406.mbox/%3C5.1.0.14.2.20040628215107.030d4eb8@mail.trimm.nl%3E

but this is not helping me
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 13868
    
  10

Do you have spaces in the name of the directory where you installed Tomcat? What do you get if you type in the following command:

echo %CATALINA_HOME%

If you have spaces in the directory name, try putting double quotes around it:

"%CATALINA_HOME%"\bin\startup.bat


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
flier4441
Greenhorn

Joined: Sep 12, 2007
Posts: 3
Thanks it worked i used the double quotes
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: 'C:\tomcat' is not recognized as an internal or external command
 
Similar Threads
Timer starts twice when it should start only once
using flush in custom tags
variable subelemnet in tag in tld
Timer starts twice when it should start only once
Non-unique IDs generated by MyFaces Tomahawk t:columns tag