This content has been marked as final. Show 2 replies
Class files are binary. I suspect you are viewing it as text.
javap command can be helpful to get an overview of the class file format.
The launcher c source code files merely start up a VM and pass command line arguments to it (this is so that javac java jahah javap and friends are actually executables in the target operating system). The actual work of the compiler is done by code written in java. So find the javac source code and study that, rather than the launcher source code.
Edited by: brucechapman on 18/08/2010 09:10
java_bee wrote:Learn hex (the hexadecimal numbering system) and get an editor/viewer that displays hex values.
but when you look into a class file , i cannot see any such format followed . Other than that it contains a lot of ambiguous symbols like (Êþ) which i cant interpret . If suppose i need to write a decompiler I am not sure how to understand the class file .