File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes starting tomcat eror Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "starting tomcat eror" Watch "starting tomcat eror" New topic

starting tomcat eror

Bala Bucks

Joined: Jul 24, 2009
Posts: 3

I got this error when starting Tomcat

C:\Program Files\Apache Software Foundation\apache-tomcat-6.0.14\bin>startup.bat
Files\Java\jdk1.6.0 was unexpected at this time.

help Please
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
I dont see any occurance of that message in my copy of Tomcat 6.0.14 startup.bat or catalina.bat files - have you edited any of these files?

Have you set the environment variables for JAVA_HOME and CATALINA_HOME correctly?

Kees Jan Koster
JavaMonitor Support

Joined: Mar 31, 2009
Posts: 251
Dear Bala,

Quote the paths in CATALINA_HOME etc. Windows cannot deal with the spaces in there.

Java-monitor, JVM monitoring made easy <- right here on Java Ranch
I agree. Here's the link:
subject: starting tomcat eror
It's not a secret anymore!