eclipse安装反编译插件JadClipse

来源:互联网 发布:淘宝店铺首页如何设置 编辑:程序博客网 时间:2024/05/22 22:13

使用环境:
操作系统: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”保存配置。