This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 13018
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
jQuery in Action, 3rd edition