第一步、下载jad.exe(http://www.varaneckas.com/jad/)以及jadclipse_xxx.jar(http://jadclipse.sourceforge.net/)。
(注意xxx表示版本,最好先看看你的Eclipse版本,然后网站搜索对应jar包以及jad.exe版本)
第二步、把jadclipse_xxx.jar放在Eclipse根目录plugins文件夹里、把jad.exe放在jdk根目录bin文件夹里。
第三部、设置参数(Eclipse):Window->Preferences->Java->JadClipse-->Path to decompiler,指向jad.exe的目录。
第四步、配置*.class文件关联(Eclipse):Windows-->Perference-->General-->Editors-->File Associations中修改“*.class”默认关联的编辑器为“JadClipse Class File Viewer”。