Skip to content

Instantly share code, notes, and snippets.

@buglessdr
Forked from mslinn/decompile.bat
Created January 4, 2018 03:14
Show Gist options
  • Save buglessdr/40c00fea207d6849ad7f9d5ec0573b7f to your computer and use it in GitHub Desktop.
Save buglessdr/40c00fea207d6849ad7f9d5ec0573b7f 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