昨天从eclipse官网下了eclipse-jee-luna-R-win32版使用,其中关于反编译设置,怎么查资料,配置,都不管用,最后综合了部分人的答案,才搞定,
这里我归纳下,就4步搞定,前3步,几乎大家的博客都这么说,唯有第4步,才在一个很偏的博客上找到
准备文件
net.sf.jadclipse_3.3.0.jar (百度上说,此包要与eclipse版本相匹配才能使用,此包我从一个于2012年上传的网点上下载的。。坑人)
jad.exe
第一步:
将 net.sf.jadclipse_3.3.0.jar 放到eclipse目录中的 dropins 或 plugins文件夹下都行,重启eclipse
第二步:
从eclipse 菜单栏 Window->Preferences->Java->JadClipse,在Path to decompiler中填写反编译工具jad的全路径名,如:D:\Program Files\xxxxxxxx\jad.exe
第三步:
从eclipse 菜单栏 Windows -> Perference -> General -> Editors -> File Associations
在File Type 下选择*.class,然后在 Associated Editors下选择JadClipse Class File Viewer,并点击右侧的 default 按钮,设置为默认编辑器
<
第二步:
从eclipse 菜单栏 Window->Preferences->Java->JadClipse,在Path to decompiler中填写反编译工具jad的全路径名,如:D:\Program Files\xxxxxxxx\jad.exe
第三步:
从eclipse 菜单栏 Windows -> Perference -> General -> Editors -> File Associations
在File Type 下选择*.class,然后在 Associated Editors下选择JadClipse Class File Viewer,并点击右侧的 default 按钮,设置为默认编辑器
<