Skip to content

Instantly share code, notes, and snippets.

@mslinn
Last active March 19, 2024 17:07
Show Gist options
  • Star 24 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save mslinn/0e6fe9a2504a54e74e8c to your computer and use it in GitHub Desktop.
Save mslinn/0e6fe9a2504a54e74e8c to your computer and use it in GitHub Desktop.
Decompile JVM class files using IntelliJ IDEA's embedded FernFlower decompiler
java -cp "C:\Program Files (x86)\JetBrains\IntelliJ IDEA 15.0.2\plugins\java-decompiler\lib\java-decompiler.jar" org.jetbrains.java.decompiler.main.decompiler.ConsoleDecompiler -dgs=true . src
#!/bin/bash
java -cp "/Applications/IntelliJ IDEA 15.app/Contents/plugins/java-decompiler/lib/java-decompiler.jar" \
org.jetbrains.java.decompiler.main.decompiler.ConsoleDecompiler \
-dgs=true \
classDir/ srcDir/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment