Mmyeclipse 安装反编译插件

[list]
[为myeclipse 安装反编译插件

方法一:

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

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

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文件
]
[/list]
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
myeclipse反编译插件 一:下载插件 JAD : http://www.varaneckas.com/sites/default/files/jad/jad158g.win.zip(选择与操作系统对应的版本) JadClipse:http://sourceforge.net/projects/jadclipse/files/(选择Eclipse支持的版本) 二:安装 1,将下载到的JAD反编译工具解压,将得到的jad.exe放置到系统某一目录下,如C:\Java\jre1.5.0_07\bin;(位置可以随便放,以后配置要用,推荐放到java目录下) 2,将下载到的JadClipse压缩包net.sf.jadclipse_3.2.4.jar(对应你刚才下载的版本)放置到Eclipse目录下plugins内(该目录是专门放置插件的,你也可以自己建立个文件夹来放置插件,但要记住路径,后面需要配置) 3,在Eclipse目录下links文件夹内新建net.sf.jadclipse_3.2.4.jar.link文件,文件名可以随意,但后缀必须是link,文件内容为path=D:\\Eclipse(请参照你自己的路径进行设置) 三:配置 启动eclipse,打开:Window->Preferences->Java->JadClipse. 1、Path to decompiler,这里设置反编译工具jad的全路径名,比如C:\Java\jre1.5.0_07\bin\jad.exe. 2、Directory for temporary files,这里设置临时文件路径。 其他参数不用配置 四:使用 安装完成后,eclipse自动将JadClipse Class File Viewer设置成class文件的缺省打开方式。如果没有默认,可以在Eclipse的Windows——> Perference——>General->Editors->File Associations中修改“*.class”默认关联的编辑器为“JadClipse Class File Viewer”。设置完成后,双击*.class文件,eclipse将自动反编译。 注: 对于存在源代码的类,它不会强行反编译,也就是说它还是会用eclipse自带的Class File Viewer查看class文件。

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值