Decompile a Jar file¶
If you have a *.jar
file that contains *.class
files, then use the following to decompile and provide *.java
files.
docker run --rm -it -u $(id -u):$(id -g) \
-v "${PWD}:/data" -w /data \
jgiannuzzi/jd-cmd \
${jar_file} \
-od ${output_dir}