I thought the javap tool displayed the bytecode, not the source code.
If you mean standard J2SE classes, all the well‑known ones are in the src.zip file, as two people have already told you. The zip file is divided into folders and its structure corresponds to the package names of the classes.
Campbell Ritchie wrote:I thought the javap tool displayed the bytecode, not the source code.
In fact the javap command does display the bytecode, not source code. If you use javap FileName, it will show you the bytecode of the class definitions. If you use javap FileName -verbose it will show you all of the bytecode for the class members as well.