• 免费好用的JAVA反编译工具(可批量)转


    转自:http://www.iteye.com/topic/275696

    网上经常会下载到一些jar文件和war文件,这些文件里面都是classes文件,通过“Java Decompiler”可以反编译(查看)里面的源代码,而且还可以批量保存jar文件和war文件里面的class文件。

    1、官方网站:http://java.decompiler.free.fr/

    2、批量反编译,即将jar档里面所有的classes文件反编译成java文件。

    步骤:【File】->【Save JAR sources】即可。


    3、技巧:

        该工具默认不支持war格式,其实我们只要将该文件的后缀名改为jar可以了。

    附:eclipse插件,即时反编译插件 JadClipse 使用

    1、主页

    2、jar档下载

    3、反编译工具jad 主页和下载

    4、安装和使用:

    Installation

      • Put the JadClipse JAR file into the plugins folder of your Eclipse installation.(将下载的jar档拷贝到eclipse下的plugins文件夹 ) 
      • Restart Eclipse (eclipse -clean )(重新启动eclipse,执行【Project】-》【Clean】 ).
      • Get Jad .(下载Jad工具 
      • Put the Jad executable into a directory that is in the execution path of your operating system. Alternatively, you can configure the path to the Jad executable under Window > Preferences... > Java > JadClipse > Path to Decompiler . (Set the full path, e.g. C:Program FilesJadjad.exe )(将得到的Jad文件解压,得到一个jad.exe的可执行文件,然后再eclpse进行设置:【Window】 > 【Preferences...】 > 【Java】 > 【JadClipse】 > 【Path to Decompiler】,在输入框输入jad.exe的绝对路径. 
      • Go to Window > Preferences... > General > Editors > File Associations and make sure that the JadClipse Class File Viewer has the default file association for *.class files.(【Window】 > 【Preferences...】 > 【General】 > 【Editors】 > 【File Associations】,将JadClass设置为class文件的默认打开工具。 
  • 相关阅读:
    一步一步学Silverlight 2系列(16):数据与通信之JSON
    一步一步学Silverlight 2系列(15):数据与通信之ASMX
    谈一谈做iOS播放器库开发所涉及的知识点
    回顾大学生活
    iOS 简化冗余代码
    修正DejalActivityView在iOS8之前系统上存在的Bug
    2015年,你要做什么(一)
    iOS学习笔记
    IOS SDK详解
    iOS开发进阶
  • 原文地址:https://www.cnblogs.com/summer520/p/3338303.html
Copyright © 2020-2023  润新知