標籤:
轉載地址:http://www.cnblogs.com/greensleeves/p/3168541.html
最近遇到一個Tomcat windows安裝版本是32位還是64位問題。由於一系列原因,已經無從知曉生產系統上的該程式是32位還是64位。
後來經過仔細查閱資料,得知:
1. tomcat 從6.0.24開始才區分 32位和64位版本問題
這個可以從 http://archive.apache.org/dist/tomcat/tomcat-6/ 查閱到。
2.要判斷一個exe是32位還是64位,可以通過UltraEdit開啟看看
下面是摘錄別人的:
If you have a hex editor program, just open your file with it and shortly after the standard header
intro stuff (like "This program cannot be run in DOS mode...") you will see either
"PE..L" (hex code: 504500004C) = 32 bit
or
"PE..d†" (hex code: 504500006486) = 64 bit
3.可以通過工具來驗證(PESnoop.exe)
4.最笨的辦法
可以通過得知Tomcat的版本號碼,進而從官網分別下載32、64位的安裝包,最後通過
Beyond Compared這樣的工具和本地的檔案一一比對來判斷。
最後我自己還是有個疑問:
1. tomcat同一版本 32、64位的區別是什嗎? 只是 32位安裝在32位的作業系統上,64位安裝在64位的作業系統上?
2. 通過比對 apache-tomcat-6.0.37-windows 官網下載的32、64安裝包,只發現一個tomcat6.exe 大小不一致,其他檔案都相同。為什嗎?
【轉】Tomcat版本是32位、64位問題