eclipse中安装反编译软件JD步骤

上一篇 / 下一篇  2015-03-19 13:02:01 / 天气: 晴朗 / 心情: 平静 / 个人分类:Java

  第一步:去官网http://jd.benow.ca/找到安装步骤
  1. From the Help menu in Eclipse, select Install New Software... to open an Install 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.

  3. Check boxes "Java Decompiler Eclipse Plug-in" and "JD-Eclipse Plug-in", and click on Next buttons.
  4. Choose the option to accept the terms of the license agreement (shown below).


  5. Click on the Finish button.
  6. On the Selection Needed dialog window, click on the Select All and Ok buttons.
  7. Restart Eclipse.

  第二步:到http://my.oschina.net/mynote/blog/85083(备注:转) 中找到class文件打开方式

   1.window——》Preferences——》General——》Editors——》File Associations ——》(选择)×.class  without source——(在下面的Associated editors栏目中)add——》Class file Editor(选择添加)——》(选择新的打开方式选择默认)Default 配置如图:

  2.重新打开class文件,就会看到源码信息;

TAG: java反编译

 

评分:0

我来说两句

Open Toolbar