最近在使用 JD-GUI这个工具查看jar包文件,个人感觉,反编译的正确率较jad要高.
JD-GUI工具下载链接:
http://java.decompiler.free.fr/jd-gui/downloads/jd-gui-0.3.3.windows.zip
我想如果在次再要在使用jad的场合,我都选用Jode Decompiler.先在这落个记号,以便下次备用.
Eclipse下的Java反编译插件:Jode Decompiler
名称:Jode Decompiler
简介:一个Elipse的 Java 反编译工具。用于在Eclipse中查看Jar包中的class文件源代码。
安装方法:
点击Eclipse的Help菜单 --> Software Updates --> Find and install...,然后选择:Search for new features to install,在弹出的对话框中点击“New Remote Site...”菜单。
填入:
Name: Jode Decomopiler
eclipse Jode Decomopiler 插件更新链接:
http://java.decompiler.free.fr/jd-eclipse/update
点击“Finish”。
下载完后选择安装即可,根据提示,点击重启Eclipse。
之后可以在Window菜单的Preferences --> Java -->Jode Decompiler中配置插件的信息。
安装好了可以看到Window => Preferences... => Java => Jode Decompiler选项卡。安装好了再设置一下文件关联就可以了,Window => Preferences... => General => Editors => File Associations找到"*.class"在"Associated editors"里面可以看到"Jode class file viewer"选中它再单击Default按钮就OK了。