Skip to content

Instantly share code, notes, and snippets.

@marceloneppel
Forked from mslinn/decompile.bat
Created September 5, 2025 20:24
Show Gist options
  • Select an option

  • Save marceloneppel/8ff54dafa9cc8abb7874063c58e7cdaf to your computer and use it in GitHub Desktop.

Select an option

Save marceloneppel/8ff54dafa9cc8abb7874063c58e7cdaf 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