I have always used this to decompile any .class file to readable format. However, now I need to change around 30-40 .class files to readable format to push to my github. How may I change all the .class files to readable (.java or .txt) at once?
Asked
Active
Viewed 1,495 times
0
-
Do you have a license or permission from the original author to decompile and upload their work? – Igor Skochinsky Sep 17 '14 at 16:02
1 Answers
1
- JAR (or ZIP) all the classes you want decompiled together.
- Launch JD-GUI and open your jar (zip) archive.
- Use "File" - "Save JAR Sources" menu option. It will decompile everything from your archive and save their sources into another zip file.
You would then need to unzip the ZIP file, and add it to a git repo before push.

FrobberOfBits
- 17,634
- 4
- 52
- 86
-
I'm using Eclipse and once I open my jar archive, it still opens as unreadable .class files. Also there's no "Save JAR Sources" in "File". – HackCode Sep 17 '14 at 14:57
-
I can't speak to the eclipse plugin. Have you tried using JD-GUI? – FrobberOfBits Sep 17 '14 at 14:59