安装Eclipse反编译插件
博客分类:一、前提:
1、已经安装了Eclipse,如我的Eclipse目录:E:\Work_Soft\Eclipse
2、反编译插件包:eclipse 反编译插件_jad 3.3.0.zip
二、步骤:
1、解压反编译插件包“eclipse 反编译插件_jad 3.3.0.zip”;
2、将插件包中的net.sf.jadclipse_3.3.0.jar文件复制到Eclipse的插件目录下(如E:\Work_Soft\Eclipse\plugins);
3、启动Eclipse;
4、点击【Window】 --> 【Preferences】,在弹出的对话框中选中JadClipse进行设置,在右侧Path to decompiler的文本框中输入jad.exe文件的绝对路径,如下图:
三、常见问题
1、 在Preferences对话框中找不到JadClipse这一项
解决方法:先确认net.sf.jadclipse_3.3.0.jar这个插件文件有无正确安装或是否能和你的Eclipse版本匹配(我的Eclipse是3.5.2版本),同时在启动Eclipse前先在快捷方式中添加clean参数后在启动。
2、 正确安装后,还是无法反编译
解决方法:设置class文件的默认打开方式
点击【Window】 --> 【Preferences】,在弹出的对话框中选中【General --> Editors --> File Associations】,在右侧选中【*.class】然后点下方的【Add...】按钮,在弹出的对话框中选中【JadClipse Class File Viewer】这一项,点击【OK】;回到Preferences界面后,选中右侧下方的【JadClipse Class File Viewer】这一项,点击右侧的【Default】后,在点击最下方的【OK】保存设置即可;如下图:
注:附件eclipse_反编译插件_jad_3.3.0.zip 里面有插件,以及详细的安装文档;
改用:
JD-Eclipse (好用)
链接:http://java.decompiler.free.fr/?q=jdeclipse
Java Decompiler
JD-Eclipse
JD-Eclipse is a plug-in for the Eclipse platform. It allows you to display all the Java sources during your debugging process, even if you do not have them all.
JD-Eclipse is free for non-commercial use. This means that JD-Eclipse shall not be included or embedded into commercial software products. Nevertheless, this project may be freely used for personal needs in a commercial or non-commercial environments.
Screenshots
Supported Platforms
- Windows 32/64-bit
- Linux 32/64-bit
- Mac OSX 32/64-bit on x86 hardware
Installation
Windows Platform Prerequisites
The native library, included into JD-Eclipse for Windows, has been built with Microsoft Visual C++ 2008 Express Edition. Some runtime components of Visual C++ Libraries are required to run the decompiler. You can download and install them from the Microsoft Web site :
Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)
Microsoft Visual C++ 2008 SP1 Redistributable Package (x64)
Instructions
- From the Help menu in Eclipse, select Install New Software... to open an Install dialog window (shown below).
- Add a new repository to add JD-Eclipse plug-in:
- Click on the Add... button to open the New Repository dialog window.
- Type JD-Eclipse Update Site in the site Name text box.
- In the URL text box, type the URL for the JD-Eclipse update site: http://java.decompiler.free.fr/jd-eclipse/update (shown below) and click OK.
- Check boxes "Java Decompiler Eclipse Plug-in" and "JD-Eclipse Plug-in", and click on Next buttons.
- Choose the option to accept the terms of the license agreement (shown below).
- Click on the Finish button.
- On the Selection Needed dialog window, click on the Select All and Ok buttons.
- Restart Eclipse.
Download
Thanks
Thanks to Andy Taylor to host JD-Eclipse Update Site files on http://benow.ca !
Donations
Did JD-GUI help you to solve a critical situation? Do you use JD-Eclipse daily? What about making a donation?
Euro (€) USD ($)Changes
Disclaimer
Copyright © 2008-2012 Emmanuel Dupuy.
THIS SOFTWARE IS PROVIDED “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
官方网站:http://java.decompiler.free.fr/
在Eclipse中进行安装的时候可以选择直接在线update,也可以下载插件包本地安装。在线安装的地址:http://java.decompiler.free.fr/jd-eclipse/update/,插件包单独的下载地址:http://java.decompiler.free.fr/jd-eclipse/update/jdeclipse_update_site.zip,各位可以按需自行选择。
安装完毕之后,按F3可能还是原来的class查看器,不能正常调用jd的class查看器,此时需要设置class文件的关联打开方式为jd程序,如下图:Eclipse默认的是Viewer,jd插件安装之后会多出一个Editor,选择那个并设置为默认的,则在F3的时候可以看到,如果找不到源码则会反编译class文件得到源码并显示。
注:对于存在原始码的类,他不会强行反编译,也就是说他还是会用eclipse自带的Class File Viewer查看class文件。
相关推荐
eclipse反编译插件及安装手册全部教程,手把手教你安装eclipse反编译插件
2、反编译插件包:eclipse 反编译插件_jad 3.3.0.zip 二、步骤: 1、解压反编译插件包“eclipse 反编译插件_jad 3.3.0.zip” 2、将插件包中的net.sf.jadclipse_3.3.0.jar文件复制到Eclipse的插件目录下(如:E:\...
Eclipse反编译插件
在实际的开发中几乎都会使用到一些框架来辅助项目的开发工作,对于一些框架的代码我们总怀有一些好奇之心,想一探究竟,有源码当然更好了,对于有些JAR包中的代码我们就需要利用反编译工具来看一下了
1、eclipse反编译插件安装.zip , 里面包含了eclipse自动反编译jar包的插件和安装文档,实测可用
Eclipse离线安装反编译插件(Eclipse Class Decompiler) https://www.fanyeong.com/2016/09/22/eclipse离线安装反编译插件(eclipse-class-decompiler)/
反编译插件 安装文档 eclipse 插件安装 具体安装 部署
1.将jad.exe放到安装jdk的bin目录下 D:\xxxx\jdk...重启后即可查看.class反编译文件 附:jad版本下载目录:https://varaneckas.com/jad/ JadClipse:http://sourceforge.net/project/showfiles.php?group_id=40205
mac环境下的eclipse反编译工具插件:jad、sf.jadclipse_3.3.0.jar 两件套。
eclipse安装反编译插件详细步骤 事例
eclipse安装反编译插件
eclipse的反编译插件 安装方法: 1. 将net.sf.jadclipse_3.3.0.jar 拷贝到eclipse的plugins目录下(在关闭eclipse的情况下进行,若不在关闭的情况下进行,添加进去后重启eclipse,或者关闭eclipse再打开) 2. 设置...
试了好几种安装Eclipse的反编译插件的方法,最终只有该方法成功了
Eclipse 反编译 插件 安装步骤,查看源码简单好用。
jd-eclipse反编译插件 版本0.1.3 eclipse的插件 1,先下载Jd-eclispe插件的压缩包 2,jdeclipse_update_site.zip下载好了之后,解压,将plugins文件下的jd.ide.eclipse_0.1.3.jar和jd.ide.eclipse.win32.x86_0.1.3....