首页 技术 正文
技术 2022年11月15日
0 收藏 930 点赞 4,970 浏览 888 个字

2017-08-24

这样我们就可以通过Eclipse查看.class文件的源码了。

1.参考别人的博客,亲测有效

https://www.cnblogs.com/JealousGirl/p/setup_Decompiler.html

2.以下不一定有效

有以下两种安装方法:

1.在线安装 

1)在eclipse的help—》Install New Software…中添加新软件开发,添加它的源:

name:jd-eclipse_update_site
address:http://jd.benow.ca/jd-eclipse/update

Eclipse安装反编译插件,查看.class文件的源码

2)选择出现的资源,一路next安装,最后重启;

3) 在Windows(窗口) —> Preferences(首选项) —> General(常规) —> Editors(编辑器) —> File Associations (文件关联) 中设置,

将*.class 和 *.class without source的默认的相关联编辑器改为Class File Editor,即设为Default。Eclipse安装反编译插件,查看.class文件的源码 

2.离线安装

离线安装,先下载插件包:官网:http://java.decompiler.free.fr/或者:http://aniyo.iteye.com/blog/13366221、下载jdeclipse_update_site.zip,解压,将plugins文件下的jd.ide.eclipse_0.1.3.jar和jd.ide.eclipse.win32.x86_0.1.3.jar复制到eclipse安装目录下的plugins里  2、在eclipse里安装,选择help下的安装插件install new soft 或者叫update ……版本不同不一样,自己看哈  然后 点add site ,在弹出来的框的location选择刚下载的包的路径  然后下一步,安装即可  3、安装好后,修改一个设置,选window-preferences  在输入框输入file Associations  在右边选*.class  下面将class file editor设置为默认的即可(点右边的default)

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,121
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,593
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,438
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,209
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,845
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,930