Next Previous Contents
Java compiler compiles the Java source code files (*.java) into binaries files (*.class). You would use the Java de-compiler to convert java class files into source code files (*.java).
Java de-compiler is very useful especially if you have *.class files and you do not have access to the source code. Some vendors do not ship the source code for java class files, in which case you use the java decompiler to look at the source code.
See also the "javap" command from Sun Microsystems. This command is available as soon as you install the JDK from Sun Microsystems. At unix prompt type -
bash$ javap -help
bash$ javap -c <filename>.class
The following are the list of Java decompilers available -
- Free "Jad" Java Decompiler at http://www.geocities.com/SiliconValley/Bridge/8617/jad.html#general and at http://www.geocities.com/SiliconValley/Bridge/8617/jad.html#gui
- List of Decompilers, disassemblers and obfuscators are at http://dmoz.org/Computers/Programming/Languages/Java
- Free "Mocha" Java Decompiler at http://www.brouhaha.com/~eric/computers and download at http://www.brouhaha.com/~eric/computers/mocha-b1.zip
- "DeCafe Pro" from DeCafe, France at http://decafe.hypermart.net/index.htm
- "SourceTech Java decompiler" from Source Tech corp at http://www.srctec.com and at http://members.tripod.com/~SourceTec/jasmine.htm
- "SourceAgain" from Ahpah corp at http://www.ahpah.com
- "Class Cracker" from Mayon Software, Australia at http://www.tip.net.au/~mayon/classcracker/ccorder.html and at http://www.pcug.org.au/~mayon
- "IceBreaker" from BreakerTech corp, U.K. at http://www.breakertech.com and at http://www.breakertech.com/breaker/ice/ice.html#download
- "NMI Java decompiler" from NMI at http://njcv.htmlplanet.com and at http://njcv.htmlplanet.com/njcv.html
Next Previous Contents