(1)下载jadclipse插件
网址: http://sourceforge.net/projects/jadclipse
jadclipse_3.1.0.jar 支持eclipse3.1M6—3.2M2
jadclipse_3.2.0.jar支持eclipse3.2M3—3.2M4
jadclipse_3.2.4.jar 支持eclipse3.2M5~3.3M5
jadclipse_3.3.0.jar 支持eclipse3.1M6以上版本
将下载的插件直接拷贝进eclipse中的plugin文件夹里;
若是集成myclipse的eclipse,如MyEclipse7.x,请在Genuitec\MyEclipse7.1\dropins\下创建
eclipse\featureseclipse\plugins
然后将net.sf.jadclipse_3.3.0.jar拷贝到新创建的plugins目录下,方可生效。
【注】选择和你eclipse版本相符合的插件很重要,否则一直出现:Couldnot open the editor:
The editorclass could not be instantiated.或者An error has occurred whenactivating this view )
(2)下载反编译工具jad.exe
网址:http://www.varaneckas.com/jad
将解压出来的exe文件存入一个目录下(下面要设置路径时用到);
(3)配置
重启eclipse打开菜单
Windows ->Preferences->Java->JadClipse 设置jad.exe存放的绝对路径,和编译临时路径
然后关联*.class文件
Windows—>Perference—>General->Editors->FileAssociations 选中 *.class 文件,关联
JadClipseClass File Viewer ,并设置为默认
方法二:安装Jodeclipse
安装方法
(1):从如下地址下载:
http://sourceforge.net/projects/jodeeclipse
把下载下来的文件jodeplugin_1.0.5.zip直接解压到eclipse的plugins目录下。
(2):启动eclipse,help-> Software Updates-> Find andInstall... -> Search for new features to install,单击"New Remote Site..." 在URL栏输入http://www.technoetic.com/eclipse/update然后下一 步,就可以看到“jodedecompiler plugin *.*”,选上安装就可以了。安装好后可以看到Window ->Preferences...-> Java -> JodeDecompiler选项卡,okay,安装成功了。