1、下载eclipse插件:jadclipse_3.1.0.jar
http://jadclipse.sourceforge.net/
2、 下载Jad反编译工具:jad.exehttp://www.kpdus.com/jad.html#download
3、将jad反编译工具jad.exe放到jdk安装路径的bin目录下面,jadclipse_3.1.0.jar放到eclipse的安装目录下的plugins目录下。
4、启动eclipse,打开:Window->Preferences->Java->JadClipse.
Path to decompiler,这里设置反编译工具jad的全路径名,就是第三部jad.exe的路径。
5、 安装完成后,eclipse自动将JadClipse Class File Viewer设置成class文件的缺省打开方式。如果没有默认,可以在Eclipse的Windows——> Perference——>General->Editors->File Associations中修改“*.class”默认关联的编辑器为“JadClipse Class File Viewer”。设置完成后,双击*.class文件,eclipse将自动反编译。
注意:jadclipse_3.1.0.jar的版本与eclipse的platform版本号相关
本文介绍如何使用jadclipse插件配合Jad反编译工具,在Eclipse环境中实现Java class文件的反编译查看源码。步骤包括下载所需工具、配置Eclipse环境等。
279

被折叠的 条评论
为什么被折叠?



