Anti-compiler tool Jad simple usage
The following assumptions Jad.exe under the C:\java directory
First, basic usage
Usage:jad[option (s)]
Enter the class file name directly and support wildcard characters, as shown below.
C:\java\>jad Example1.class
C:\java\>jad *.class
The result is to decompile the Example1.class to Example1.jad. Change Example1.jad to Example1.java source file.
Second, Option-o
Do not prompt, overwrite source file
Third, Option-s
C:\java\>jad-sjava Example1.class
Decompile results with. java as the extension.
Four, Option-p
Output the decompile results to the screen
C:\java\>jad-p Example1.class
Redirecting the decompile results to a file
C:\java\>jad-p Example1.class>example1.java
Five, option-d
Specify the decompile output file directory
C:\java\>jad-o-dtest-sjava *.class
List of command line selections
-A-annotation output in JVM byte format
-af-A, but with full name when annotations
-clear-Clears all prefixes
-B-Output more than parentheses (e.g., if (a) {B ();}, Default:no)
-D
-Specifies the file directory of the output file
-dead-Dead part of the attempt to decompile the code (DEFAULT:NO)
-disass-Do not decompile in bytecode (no JAVA source generated)
-F-Output the entire name, whether it's a class or a method
-FF-members of the output class before the method (Default:after methods)
-I-outputs the default initial value of all variables
-L-The character (Default:no) that divides the strings into a specified number of blocks
-LNC-Annotate the output file with a line number (Default:no)
-NL-split strings with new line characters newline character (Default:no)
-nodos-don't check to see if the class file is written in DOS (CR before NL, Default:check)
-nocast-do not generate secondary files
-nocode-do not generate source code for the method
-noconv-do not convert Java definition characters (DEFAULT:DO)
-noctor-null constructor exists not allowed
-noinner-Turn off support for internal classes (Default:turn on)
-NOLVT-table information for local variables ignored
-NONLB-Do not output a new line before opening a bracket (default:do)
-O-do not need to confirm direct overwrite output (Default:no)
-P-sends the decompile code to the standard output STDOUT (e.g., for piping)