工具:
Jadclipse插件,下载地址 JadClipse - Eclipse plugin download | SourceForge.net
Jad反编译工具,下载地址 http://varaneckas.com/jad/
百度云资源:链接: https://pan.baidu.com/s/1i4YaVotByU1sQ9CFh9m6xg 提取码: 9j8u
使用方法:
1、将Jadclipse插件也就是net.sf.jadclipse_3.3.0.jar放入Eclipse安装目录的plugins目录下。
2、将下载的Jad反编译工具(jad.exe)放入JDK的bin目录下。
3、打开eclipse,点击:Window->Preferences->Java->JadClipse,假如没有找到JadClipse,检查插件安装的版本是否与你安装的eclipse版本
Path to decompiler 这里设置反编译工具jad的绝对路径,比如:D:\jdk1.8.0_131\bin\jad.exe.
若你在环境变量中设置了 PATH 指向Java安装路径的bin下就不用改了,默认是jad。
Directory for temporary files 这里设置临时文件夹路径。
4、点击:Windows-> Perference->General->Editors->File Associations,修改“*.class”默认关联的编辑器为“JadClipse Class File Viewer”,选中“JadClipse Class File Viewer”后点击 Default,如果没有找到,可以点击 Add 添加,一般插件会自动关联。
设置完之后就可以使用了,按住Ctrl点击想要查看的内容