Decompiling Java binaries

26 Jul 2019

There are some tools out there to decompile Java binaries. I’ve found that the easiest one to process an entire jar is Fernflow.

In order to build you notice that it’s built using Gradle. Either install gradle or use existing shell wrappers to build the jar file.

Once you have built the decompiler you might want to wrap it up with a shell wrapper and put the executable in your path next to the fernflower.jar:

#!/usr/bin/env bash

java -jar `dirname "${0}"`/fernflower.jar $@


Comments or errors? Fork this post and do a pull request on github