Reprint Address: http://www.cnblogs.com/greensleeves/p/3168541.html
Recently encountered a 32-bit or 64-bit issue with the version of the Tomcat Windows installation. For a number of reasons, it is impossible to know whether the program on the production system is 32-bit or 64-bit.
Later, after careful review of the information, we learned that:
1. Tomcat distinguishes between 32-bit and 64-bit version issues starting with 6.0.24
This can be viewed from the http://archive.apache.org/dist/tomcat/tomcat-6/.
2. To determine if an EXE is 32-bit or 64-bit, you can open it by UltraEdit
Here are excerpts from others:
If you had a hex editor program, just open your file with it and shortly after the standard header
Intro Stuff (like "This program cannot is run in DOS mode ...") you'll see either
"PE.. L "(hex code:504500004c) = + bit
Or
"PE.. d† "(hex code:504500006486) = a bit
3. Can be verified by tools (PESnoop.exe)
4. The stupidest Way
You can download the 32, 64-bit installation package from the official website by knowing the version number of Tomcat, and finally
Beyond compared such tools and local files one by one comparison to judge.
In the end, I still have a question:
1. What is the difference between Tomcat version 32 and 64 bit? Just 32 bits installed on a 32-bit operating system, 64-bit installed on a 64-bit operating system?
2. Through the 32, 64 installation packages downloaded from the Apache-tomcat-6.0.37-windows website, only one tomcat6.exe size is found to be inconsistent and the other files are the same. Why?
The "Go" Tomcat version is a 32-bit, 64-bit issue