wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Problem with Tomcat 5.5x and Win 7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Reply locked New topic

Problem with Tomcat 5.5x and Win 7

Darren Littlepage
Ranch Hand

Joined: Dec 27, 2010
Posts: 35

I'm having a problem getting Tomcat 5.5x to run on Windows 7. I installed it in C:Tomcat
It installs fine and all...but the service won't start. When I look at the log it says:
Failed creating java C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll
I set the permissions for the folder and file so it could have full access.
When I change the Startup tab to use Java instead of jvm I get this error:
Unable to find Java Runtime Environment.

Is there a work around? Any help is appreciated.
I don't mind running it from a cmd prompt if I knew how. That info would be good too if it's possible.
The reason I'm going with ver 5.5x is because I am studying for the SCJWCD.

Thanks in advance.

OCPJP for Java 6 on 01/2011
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12761
For study you really should be running Tomcat as an application rather than a service.

Download the zipped version (I recommend version 6 not 5) and expand it - should result in an application you can start with start.bat

Darren Littlepage
Ranch Hand

Joined: Dec 27, 2010
Posts: 35
Thanks William.

I ended up posting in the Tomcat forum here:

I did go with ver 6. I am having JAVA_HOME problems. It is telling me that my JAVA_HOME needs to point to a JDK and not a JRE. It does point to a JDK...without the bin folder.
My version has a startup.bat in the bin directory.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Problem with Tomcat 5.5x and Win 7
Similar Threads
how to start and stop tomcat 5.5 server
Compatability Package for Tomcat5.5?
JDK 1.5 with Tomcat 5.0.x
A couple of generic Tomcat questions
Tomcat 5.5x on Windows 7 problems