【轉】Tomcat版本是32位、64位問題

來源:互聯網
上載者:User

標籤:

轉載地址: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位問題

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.