使用環境:
操作系統:Win7
Eclipse版本:Mars.2 Release (4.5.2)
JadClipse版本:3.3.0
一、下載安裝JadClipse插件
1.1 下載地址:
- http://download.csdn.net/download/yaerfeng/4945567
- http://download.csdn.net/download/shilinjie_8952/9674940
- http://pan.baidu.com/s/1miE9JQg
1.2 安裝JadClipse插件
- 步驟1:將下載好的壓縮包解壓,獲得”jad.exe”可執行文件及”net.sf.jadclipse_3.3.0.jar”插件jar包;
- 步驟2:將”net.sf.jadclipse_3.3.0.jar”包複製到 Eclipse的”dropins”或”plugins”文件夾下;
- 步驟3:啓動 Eclipse,打開 Window->Preferences窗口;
- 步驟4:在搜索框中搜索”JadClipse”,查看插件是否安裝成功;
二、配置設置
2.1 JadClipse 配置
- 步驟1:打開 Window->Preferences窗口,選擇Java->JadClipse。
步驟2:在窗口右側中配置以下信息
- ”Path to decompiler”:jad.exe可執行文件的路徑,若jad.exe所在路徑在環境變量Path中,則可直接填jad;
- “Directory for temporary files”:默認或自己選擇一個文件夾路徑;
2.2 Eclipse 配置默認打開方式
- 步驟1:打開 Window->Preferences窗口,選擇General->Editors->File Associations。
- 步驟2:在窗口右側分別選擇“*.class”和“*.class without source”。
- 步驟3:在窗口右下方“Associated editors”框中分別添加“JadClipse Class File Viewer”,並設爲默認(Default)
- 步驟4:點擊“OK”保存配置。