Batch decompiling of Java files with JD-GUI

前端 未结 4 2213
隐瞒了意图╮
隐瞒了意图╮ 2020-12-13 06:46

I\'m looking for a program to batch decompile Java classes. I found JAD, but it didn\'t support some new features of Java, and the benefit of this program is that it can exe

4条回答
  •  半阙折子戏
    2020-12-13 07:03

    Command line decompilation for JD-GUI is a highly requested feature but it's not implemented yet. Perhaps you can use the following workaround in the meantime:

    1. jar (or zip) all the classes you want decompiled together.
    2. Launch JD-GUI and open your jar (zip) archive.
    3. Use "File" - "Save JAR Sources" menu option. It will decompile all classes from your archive and save their sources into another zip file.

    I haven't seen any good open source JD-GUI alternatives with command-line support, unfortunately, so I think the above is as good as it gets for now.

提交回复
热议问题