java 安装反编译工具

--Eclipse 安装反编译插件(百度经验)

【转载】URL:  http://jingyan.baidu.com/article/1709ad80b6fcf34634c4f025.html

 方法一:安装jadclipse插件 
   (1)下载jadclipse插件
        网址: http://sourceforge.net/projects/jadclipse
        jadclipse_3.1.0.jar 支持eclipse3.1M6—3.2M2
        jadclipse_3.2.0.jar 支持eclipse3.2M3—3.2M4 
        jadclipse_3.2.4.jar 支持eclipse3.2M5~3.3M5
        jadclipse_3.3.0.jar 支持eclipse3.1M6以上版本
     将下载的插件直接拷贝进eclipse中的plugin文件夹里; 
     若是集成myclipse的eclipse,如MyEclipse7.x,请在Genuitec\MyEclipse 7.1\dropins\下创建
eclipse\features

eclipse\plugins

      然后将net.sf.jadclipse_3.3.0.jar拷贝到新创建的plugins目录下,方可生效。

         【注】 选择和你eclipse版本相符合的插件很重要,否则一直出现:Could not open the editor: 
              The editor class could not be instantiated.或者An error has occurred when activating this view )

     (2)下载反编译工具jad.exe
       网址:
http://www.varaneckas.com/jad
      将解压出来的exe文件存入一个目录下(下面要设置路径时用到);
     (3)配置
      重启eclipse打开菜单
     
  Windows ->Preferences ->Java ->JadClipse 设置jad.exe存放的绝对路径,和编译临时路径
      然后关联*.class文件
       Windows—> Perference—>General->Editors->File Associations 选中 *.class 文件,关联
        JadClipse Class File Viewer ,并设置为默认
 

 
方法二:安装Jodeclipse
安装方法
(1):从如下地址下载:
      http://sourceforge.net/projects/jodeeclipse
     把下载下来的文件jodeplugin_1.0.5.zip直接解压到eclipse的plugins目录下。
(2):启动eclipse,help -> Software Updates-> Find and Install... -> Search for new features to       install,单击"New Remote Site..." 在URL栏输入 http://www.technoetic.com/eclipse/update然后下一 步,就可以看到“jode decompiler plugin *.*”,选上安装就可以了。安装好后可以看到Window -> Preferences...-> Java -> Jode Decompiler选项卡,okay,安装成功了。
 
       配置:Window-> Preferences... -> General -> Editors -> File Associations找到"*.class"在"Associated editors"里面可以看到"Jode class file viewer"选中它再单击Default按钮.
【转载】URL:
http://tinwai.blog.51cto.com/4404678/777277

猜你喜欢

转载自2594082lhj.iteye.com/blog/2183888