Wednesday, July 27, 2011

Installing Tomcat 6 on a 64-bit Windows machine

To install Tomcat on a Windows 64 bit box, you would need to do the following:

1. Grab and install the latest and greatest 64-bit version of Sun Java from here

I am using Java 6, but I am sure other versions will work just as well.

2. Download and install the latest version of Tomcat from here. the current version as on date is : 6.0.20
Now, this version is 32-bit. Next, you will need to obtain a 64-bit version of the tomcat6.exe and tomcat6w.exe binary. It was tricky to find, but there is a post on Apache's Bugzilla containing a pre-compiled file ready for use.

3. Grab it from here.

Note: Make sure you have the same version of tomcat that you initially downloaded and the 64-bit versions of the executables.

For a complete list of the 64-bit versions, goto http://svn.apache.org/viewvc/tomcat/tc6.0.x/tags/, click on the right version and then browse to res/procrun/amd64/ to pick up tomcat6.exe and tomcat6w.exe

4. Next, You need to replace the tomcat6.exe and tomcat6w.exe programs in Tomcat's bin directory with the 64-bit versions.

5. Restart the service and you should be good.

I tried this on a Windows 2003 Enteprise Edition R2 x64 and it works fine. However this should also work with other 64 bit Versions of Windows (XP, Vista, 2008, Windows 7)

All the best.
_________________________________________________________
Naveen Noel J | Sr. Solutions Architect | ZSL, Inc | http://www.zsl.com

No comments: