Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
    Bookmark Topic Watch Topic
  • New Topic

Problem with Tomcat 5.5x and Win 7

 
Darren Littlepage
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hello,

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.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Report post to moderator
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

Bill
 
Darren Littlepage
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Report post to moderator
Thanks William.

I ended up posting in the Tomcat forum here:
http://www.coderanch.com/t/525348/java-Web-Component-SCWCD/certification/Tomcat-Windows-problems

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.
 
    Bookmark Topic Watch Topic
  • New Topic