首页 > 编程语言 > 详细

Java反编译

时间:2016-07-22 19:36:30      阅读:261      评论:0      收藏:0      [点我收藏+]

需要一个支持命令行的Java反编译工具

JAD不支持注解

JD-GUI支持注解,但不支持命令行


JD-GUI所使用的JD-Core未开源


找到一个JD-Core的折中方案 https://github.com/nviennot/jd-core-java/

记得要先安装mercurial,再编译

Ubuntu安装方式:sudo apt-get mercurial


使用方法:

# Outputs all the sources of compiled.jar into out_dir
java -jar jd-core-java-1.2.jar [options] <compiled.jar> [<destination>]
Options:
    -z - save sources into a zip file
    -n - add line numbers into sources; (false by default)
    -r - not realign line numbers (true by default)


jd-core-java-1.2.jar下载链接:

http://down.51cto.com/data/2230021



Java反编译

原文:http://duallay.blog.51cto.com/635999/1828861

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!