Eclipse集成反编译插件JadClipse
2016-07-06 18:14
375 查看
JadClipse是Jad的Eclipse插件,是一款非常实用而且方便地Java反编译插件,我们只需将下载的插件包复制到eclipse的plugins目录下,然后修改window
-> Preferences -> Java -> JadClipse 下的Path to decompiler ,如:C:\pin\jadnt158\jad.exe,最后在Windows -> Perference -> General -> Editors -> File Associations中修改“*.class”默认关联的编辑器为“JadClipse Class File Viewer” 即可。
详细步骤见下所示:
注意:如果是mac系统可通过下载jad158g.mac.intel.zip。将下文中的jad.exe换成jad158g.mac.intel.zip文件中的jad即可
如上,可以看到两个与.class有关的,点击.class without source(意思没有资源的时候的class的编辑器),在Associated editors中将JadClipse Class File Viewer设置成默认(Default),若没有JadClipse Class File Viewer则通过右边的Add进行添加即可(添加后并设置成默认)。
-> Preferences -> Java -> JadClipse 下的Path to decompiler ,如:C:\pin\jadnt158\jad.exe,最后在Windows -> Perference -> General -> Editors -> File Associations中修改“*.class”默认关联的编辑器为“JadClipse Class File Viewer” 即可。
详细步骤见下所示:
1、下载net.sf.jadclipse_3.3.0.jar(可下载更新版本)及jad.exe。
下载地址:http://sourceforge.net/projects/jadclipse/;也可到本人百度云盘进行下载:https://pan.baidu.com/s/1o77h5W2。注意:如果是mac系统可通过下载jad158g.mac.intel.zip。将下文中的jad.exe换成jad158g.mac.intel.zip文件中的jad即可
2、将net.sf.jadclipse_3.3.0.jar文件放入Eclipse的安装目录下的plugins文件夹下。
3、将jad.exe放在任意文件夹下并定义一个空文件夹存储临时文件所用。
4、打开Eclipse,若已经打开了需要重启一下(File-->Restart)。点击Window-->Preferences,搜索JadClipse。
5、点击Winsow-->Preferences,搜索file associations。
如上,可以看到两个与.class有关的,点击.class without source(意思没有资源的时候的class的编辑器),在Associated editors中将JadClipse Class File Viewer设置成默认(Default),若没有JadClipse Class File Viewer则通过右边的Add进行添加即可(添加后并设置成默认)。
至此,打开jar中的.class文件在没有资源的情况下也能查看编译的类了。
相关文章推荐
- java读源文件写入目标文件
- java构造函数使用方法总结
- Java多线程基础学习(一)
- android studio jks和eclipse keystore
- JAVA中读取文件(二进制,字符)内容的方法总结
- [eclipse]Syntax error on token ";",{ expected after this token
- 时间戳格式化-java
- 解决jxl导出excel异常:java.lang.ArrayIndexOutOfBoundsException
- Java总结篇系列:Java泛型(转)
- Java虚拟机对象
- The Maven Integration requires that Eclipse be running in a JDK
- 获取spring中配置的properties属性名和属性值
- 八大排序算法Java
- 深入理解Java:注解(Annotation)自定义注解入门
- 理解java回调机制
- Java并发编程:volatile关键字解析(推荐!)
- Spring事务超时、回滚的相关说明
- Java基础总结
- Java多态性理解
- AvtiveMQ入门教程