Tomcat on Windows x64 using 32-bit JDK

12,888

To run with a 64-bit JDK, you need to use tomcat.exe and tomcatw.exe that are compiled 64-bit. To run with a 32-bit JDK, you need the .exes that are compiled 32-bit.

It is likely that the install package you got for Tomcat contained 64-bit executables. Go to the download page (http://tomcat.apache.org/download-60.cgi), download the 32-bit version and you should be fine.

This question has more info on running Tomcat with 64-bit. How to run Tomcat 6 on WinXP 64 bit?

Share:
12,888
Erik
Author by

Erik

Updated on June 13, 2022

Comments

  • Erik
    Erik almost 2 years

    Hoping someone can help.

    The rub: I can't get Tomcat 5.5 to start as a windows service on 64-bit windows using a 32-bit JDK.

    the details: I've been running Tomcat 5.5 on Windows Server 2008 (x64) as a service for some time using a 64-bit JDK.

    I'm being forced to install a 32-bit JDK on this 64-bit machine so I can make use of the Java JAI libraries (no 64-bit JAI version). I have to run Tomcat using this 32-bit JDK.

    I can run Tomcat using the 32-bit JDK if I start it using /bin/startup.bat

    Problem is, it will not start as a windows service. I'm using the Tomcat bundled procrun executables. Has anyone had success starting Tomcat as a service using a 32-bit JDK on a 64-bit machine?

    Thanks for your expertise.