操作步骤
1、下载jad.exe和jadclipse_3.3.0.jar
2、将jad.exe拷贝到jdk的子目录bin目录下,将jadclipse_3.3.0.jar拷贝到eclipse的dropins目录下
3、启动或重起eclipse,修改window -> Preferences -> Java -> JadClipse -> Path to decompiler 设置为:jad(默认为jad,如果不行,则此处设置为绝对路径如:D://jad//jad.exe)
4、Windows -> Perference -> General -> Editors -> File Associations中修改“*.class”默认(default)关联的编辑器为“JadClipse Class File Viewer”
5、在File Type 下选择 *.class without source,然后在 Associated Editors下单击add,添加JadClipse Class File Viewer,然后选择JadClipse Class File Viewer,
并点击右侧的default按钮,将 JadClipse Class File Viewer 设置为 *.class without source 的默认编辑器。