Intellij Idea離線安裝Java Decompiler外掛
Java Decompiler是Java語言的反編譯工具,具體介紹見部落格Java Decompiler(Java反編譯工具)或者是看官網介紹,官網地址為http://jd.benow.ca/
1、準備工作,非winows使用者可跳過
官網的解釋如下:
For Windows users, you might need to install the prerequisites.
The native library, included into JD-Eclipse for Windows, has been built with Microsoft Visual C++ 2008 Express Edition. Some runtime components of Visual C++ Libraries are required to run the decompiler. If they are missing you can download and install them from the Microsoft Web site :
2、各版本相容情況
目前,最新的版本為0.6,已經有7個版本,各版本Java Decompiler的相容情況如下
外掛版本 | 相容的Intellij Idea開發平臺版本 |
0.6 | 133.696+ |
0.5 | 107.587—133.696 |
0.4.1 | 107.587+ |
0.4 | 107.587+ |
0.3 | 107.587+ |
0.2 | 107.587+ |
0.1 | 107.587+ |
3、下載外掛
外掛下載地址:http://jd.benow.ca/,由於本人使用的是Intellij Idea12.0.4所以下載jd-intellij-0.5.zip,參照上述的版本相容情況,務必根據實際情況下載對應版本的外掛!
4、安裝外掛
1)開啟File——》Settings...——》Plugins 視窗
2)選擇Install plugin from disk...
5、如何解除安裝Java Decompiler外掛
File——》Settings...——》Plugins ——》右鍵Java Decompiler IntelliJ Plugin——》選擇Uninstall——》【OK】——》重啟Intellij Idea
如下圖