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 $@



Do you want to send a comment or give me a hint about any issues with a blog post: Open up an issue on GitHub.

Do you want to fix an error or add a comment published on the blog? You can do a fork of this post and do a pull request on github.