MyEclipse 反编译插件安装

方法一:

1.下载jadclipse
    http://jadclipse.sourceforge.net/wiki/index.php/Main_Page

2.下载jad
    http://www.kpdus.com/jad.html

3.Installation Jadclipse

  • Put the JadClipse JAR file into the plugins folder of your Eclipse installation.
  • Restart Eclipse (eclipse -clean).
  • Get Jad.
  • Put the Jad executable into a directory that is in the execution path of your operating system. Alternatively, you can configure the path to the Jad executable under Window > Preferences... > Java > JadClipse > Path to Decompiler. (Set the full path, e.g. C:\Program Files\Jad\jad.exe)
  • Go to Window > Preferences... > General > Editors > File Associations and make sure that the JadClipse Class File Viewer has the default file association for *.class files.

如果在myclipse中无法找到jadclipse,那就需要重新加载eclipse的插件.

加载方法:

删除%myeclipse%\eclipse\configuration\org.eclipse.update\platform.xml

然后重新启动myeclipse,ok.

方法二:

打开MyEclipse =>help => Software Updates => Find and Install... => Search for new features to install,单击"New Remote Site..." 在URL栏输入 http://www.technoetic.com/eclipse/update 然 后下一步,就可以看到“jode decompiler plugin *.*”了,选上安装就可以了,由于Jode Decompiler是纯Java编写的所以也不需要其他的什么组件来支持了,安装好了可以看到Window => Preferences... => Java => Jode Decompiler选项卡。安装好了再设置一下文件关联就可以了,Window => Preferences... => General => Editors => File Associations找到"*.class"在"Associated editors"里面可以看到"Jode class file viewer"选中它再单击Default按钮就OK了.

现在就可以使用Jode查看包括Jar包内.class文件的源代码了。

 

注意:用方法1安装是,要选择一个 适合MyEclipse版本的jar包,我使用的是MyEclipse5.5.1,用net.sf.jadclipse_3.3.0.jar时出错,无法 反编译成功,换成net.sf.jadclipse_3.2.4.jar包时能正常的反编译.class文件

你可能感兴趣的:(MyEclipse,职场,插件,反编译,休闲)