# Download CFR java -jar cfr.jar MyClass.class --outputdir ./decompiled

If you are working inside an IDE like or Eclipse , you generally do not need external tools.

import subprocess import sys

(Excellent for Java 8+)