反编译插件

来源:互联网 发布:淘宝男士手表50以下 编辑:程序博客网 时间:2024/06/06 01:05

http://java.decompiler.free.fr/jd-eclipse/bugs

 

到该网站下载完eclipse反编译插件后,安装。

 

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

Click here to view more 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

  1. From the Help menu in Eclipse, select Install New Software... to open anInstall dialog window (shown below).



  2. Add a new repository to add JD-Eclipse plug-in:
    1. Click on the Add... button to open the New Repository dialog window.
    2. Type JD-Eclipse Update Site in the site Name text box.
    3. In the URL text box, type the URL for the JD-Eclipse update site: http://jd.benow.ca/jd-eclipse/update and click OK.

真正下载地址http://jd.benow.ca/jd-eclipse/downloads/jdeclipse_update_site.zip。。

下载完后安装后,如果class文件还是不能反编译出来。可能需要以下设置

1 安装好后,修改一个设置,选window-preferences 在输入框输入file Associations 在右边选*.class 下面将class file editor设置为默认的即可(点右边的default) 

2 还有一种,修改*.class without source,然后添加class file editor,其实网上很多都是说了第一种,但是很多人还是没有反编译出来。设置第二种之后,基本上应该可以的了。搞了这个反编译搞了好久,怎么都反编译不出来,原来是还要设置*.class without source,网上都不说,坑死人了

原创粉丝点击