Skip to content

Instantly share code, notes, and snippets.

@vv01f
Created May 20, 2015 01:42
Show Gist options
  • Save vv01f/36c04a670216f4d811c5 to your computer and use it in GitHub Desktop.
Save vv01f/36c04a670216f4d811c5 to your computer and use it in GitHub Desktop.
  • Versuch1: jd-gui - fehlgeschlagen, scheinbar veraltet
  • Versuch2: jode - fehlgeschlagen, wohl auch veraltet
  • Hinweis: jad - funktionert für meinen Zweck

jad ist ein Kommandozeilen-Tool zum decompilieren von Java class-Dateien.

# erst decompilieren
./jad158e.linux.static/jad -v -stat -af ./compilat.class
# und noch ein wenig Kommnetare herausnehmen ...
cat compilat.jad |grep -v "//.*" > compilat.java

anschließend sind eventuell noch Reihenfolge und Variablennamen nicht wie im Original, aber zumindest kann man die Funktionalität nachvollziehen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment