Wednesday, November 4, 2009

Install Tomcat on Windows 7

I decided to install Tomcat (6.0) on Windows 7 for a project.

I downloaded "apache-tomcat-6.0.20.exe" directly from Tomcat website.

I installed it on "d:\".

Then I started it, but nothing happen, it was always at "stopped".
I check the log file, and I could see "[error] Failed creating java C:\Program Files\Java\jre6\bin\client\jvm.dll"

Copy the file msvcr71.dll (C:\Program Files\Java\jre6\bin\msvcr71.dll) to D:\Tomcat 6.0\bin

This website help me to find this solution: http://mandown.co.nz/development/getting-tomcat-apache-to-run-on-microsoft-windows-7/

If this didn't help you, you can have a look here: http://www.mkyong.com/tomcat/tomcat-error-prunsrvc-failed-creating-java-jvmdll/