Navigate to the class file that has to be decompiled
This command outputs the contents on stdout. Use the following to write it to a file
javap -c classnameNo need to include the extension .class
This command outputs the contents on stdout. Use the following to write it to a file
javap -c classname > classname.java