Linux下反编译java的class文件

时间:2021-08-25 18:21:18   收藏:0   阅读:15

环境

下载CFR

要转换文件,我们需要一个反编译器。使用CFT 反编译器,它可靠且易于使用,几乎支持所有JDK版本。

wget https://www.benf.org/other/cfr/cfr-0.144.jar

该网站的cfr的最新版本为0.155

使用

java -jar cfr-0.144.jar your_class.class > out.java

参考

[1]https://linuxh2o.com/how-to-decompile-a-class-file-into-a-java-file

原文:https://www.cnblogs.com/wowcl/p/15185482.html

评论(0)
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!