反编译工具JAD.exe使用,在MyEclipse 10 添加jadclipser 插件
一:下载插件
JAD : http://www.kpdus.com/jad.html#download(选择与操作系统对应的版本)
JadClipse:http://sourceforge.net/project/showfiles.php?group_id=40205(选择Eclipse支持的版本)
二:安装
1:将下载到的JAD反编译工具解压,将得到的jad.exe放置到系统某一目录下,如D:\develop\jdk6\bin;(位置可以随便放,以后配置要用,推荐放到java目录下)
2:在myeclipse安装目录下dropins/创建eclipse文件夹,然后在eclipse文件夹中分别创建features、plugins文件夹,将net.sf.jadclipse_3.3.0.jar 分别拷贝到features和plugins文件夹中。
如:D:\develop\MyEclipse\MyEclipse 10\dropins\eclipse
3:重新启动myeclipse 配置jadeclipse插件
三:配置
启动eclipse,打开:Window->Preferences->Java->JadClipse.
1、Path to decompiler,这里设置反编译工具jad的全路径名,比如C:/Java/jre1.5.0_07/bin/jad.exe.
2、Directory for temporary files,这里设置临时文件路径。
四:使用
安装完成后,eclipse自动将JadClipse Class File Viewer设置成class文件的缺省打开方式。如果没有默认,可以在Eclipse的Windows——> Perference——>General->Editors->File Associations中修改“*.class”默认关联的编辑器为“JadClipse Class File Viewer”。设置完成后,双击*.class文件,eclipse将自动反编译。
四:特性
对于存在源代码的类,它不会强行反编译,也就是说它还是会用eclipse自带的Class File Viewer查看class文件。
3万+

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



