idea反编译jar包
安装Java Bytecode Decompiler插件
反编译
安装Java Bytecode Decompiler插件
File–>Settings–>Plugins,在搜索框内搜出后勾选
插件Java Bytecode Decompiler
安装后查看你的插件目录,在idea的安装目录下找
我的插件安装路径是D:dev_environmentIntelliJ IDEA 2019.2.3pluginsjava-decompilerlib
反编译
cmd命令行窗口下:
java -cp "D:dev_environmentIntelliJ IDEA 2019.2.3pluginsjava-decompilerlibjava-decompiler.jar" org.jetbrains.java.decompiler.main.decompiler.ConsoleDecompiler -dgs=true D:666.jar D:mysrc
其中
xxx.jar为需要反编译的jar包
mysrc为需要保存的路径(需要提前建立好文件夹)
反编译之后,将mysrc里的jar修改为.zip后缀,解压即可
解压好后的源码:



