当前位置:网站首页>IDEA反编译出整个jar包源码
IDEA反编译出整个jar包源码
2022-07-21 23:31:00 【XYLANCC】
一、保证您的idea配置有如下插件Java Bytecode Decomplier:
File–>Settings–>Plugins,在搜索框内搜出后勾选,并应用。
二、在您需要编译的jar包的目录下,打开命令行界面,输入以下命令:
E:\lib>java -cp “D:\ideaIU-2017.1.1\plugins\java-decompiler\lib\java-decompiler.jar” org.jetbrains.java.decompiler.main.decompiler.ConsoleDecompiler -dgs=true com.prosysopc.ua-2.2.0.jar mysrc
等指令运行完毕之后,会在您所制定的目录(示例是mysrc)中生成的打包好的源码,一般是jar格式的压缩文件。您可以进行解压查看。
三、底层是使用fernflower实现的:
https://github.com/fesh0r/fernflower 有兴趣的朋友,可以到github上查看查阅源码。
补220128
我看下面有老哥反馈jdk版本问题, 这里提供一个反编译class文件版本与所需jdk版本的对应关系:
49 = Java 5
50 = Java 6
51 = Java 7
52 = Java 8
53 = Java 9
54 = Java 10
55 = Java 11
56 = Java 12
57 = Java 13
58 = Java 14
59 = Java 15
60 = Java 16
有更多问题, 欢迎在评论区反馈.
边栏推荐
- leetcode-zj-future04:门店商品调配
- Baidu PaddlePaddle easydl x wesken: see how to install the "eye of AI" in bearing quality inspection
- leetcode-6119:元素值大于变化阈值的子数组
- Robin Lee: driverless driving is the greatest innovation of human value creation
- Some methods of arrays and objects
- Elemen when clicking, modify the playback index of the walking lantern
- 2022/07/18------ clockwise printing matrix
- Leetcode interview question 17.15: longest word
- QT creator shortcut keys, with shortcut key configuration method
- 【等保小知识】等保整改是什么意思?整改内容包括哪些?
猜你喜欢
Elephant Swap的LaaS方案迅速崛起,构建全新DeFi2.0协议
Some problems encountered in creating and using custom plug-ins in Qt5
Border dynamic effect implementation
ApacheCon Asia 2022 开启报名:Pulsar 技术议题重磅亮相
"Double business success classic" is newly upgraded and launched! Hot summer new products, waiting for a long time to come!
Baidu PaddlePaddle easydl x wesken: see how to install the "eye of AI" in bearing quality inspection
What if Lao Xue's host disk space is full
617. 合并二叉树
TiDB 高并发写入场景最佳实践
Operating principle of JVM
随机推荐
如何安装mysql
Some problems encountered in creating and using custom plug-ins in Qt5
软件测试面试中,面试官问你一些比较“刁难”的问题你会怎么回答
617. 合并二叉树
ApacheCon Asia 2022 开启报名:Pulsar 技术议题重磅亮相
Leetcode-720: the longest word in a dictionary
2022 ranking list of database audit products - must see!
Solve the problem of using external files in Google Labs
Service (LB) and managed pod
带你刷(牛客网)C语言百题(第三天)
海量 Region 集群调优最佳实践
Elemen when clicking, modify the playback index of the walking lantern
Qt development application debug and release settings
Mysql8 stored procedure generates calendar table and exception handling
Applet project summary
window 编译生成darknet (cuda11.1+opencv4.5+vs2019)
Itop-rk3568 development board Debian system function test - wired network test
How to install MySQL
面试题 05.07. 配对交换
ERP系统在元器件贸易企业中的应用