Forrest logo
back to the jadx tool


jadx: Decompile a Dex file into a specific directory.
$ jadx --output-dir ${path-to-directory} ${filename}
try on your machine

The command : jadx --output-dir ${path-to-directory} ${filename} is used to decompile a Java .class or .jar file into readable Java source code.

Here is a breakdown of the command:

  • jadx is the command-line tool used for decompiling Java bytecode.
  • --output-dir is an option used to specify the output directory where the decompiled source code will be saved. ${path-to-directory} should be replaced with the actual path to the desired output directory.
  • ${filename} should be replaced with the name of the .class or .jar file that you want to decompile.

Overall, this command will decompile the specified Java bytecode file(s) and save the decompiled source code in the specified output directory.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the jadx tool