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.
However you cannot run 64bits program if your OS and IE belong to a 32bit architecture. Also you will not be able to install programs belonging to both bits on the same laptop. This will make the 32bit Java run but will not work for 64. Was this reply helpful?
The Java Platform was designed to allow applications to run on different hardware stacks and operating systems without changes. Java is available on Microsoft Windows in 64 and 32 bit versions, allowing users to get the appropriate version for their system.
If you are running a 32-bit version of Windows, you MUST use a 32-bit distribution of Apache Tomcat, as well as a 32-bit JDK. If you are using a 64-bit system, you can technically run either a 32- or 64-bit distribution, as long as the bit architecture of the JDK you have installed matches your Tomcat distribution.
Building Apache Tomcat requires a JDK (version ) or later to be installed.
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?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With