Eclipse Myeclipse 安装反编译工具jad

 

方法一:

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://jadclipse.sf.net/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文件

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值