Where are the class files located in JDK folder?
问题 This may sound like a stupid question. Where are the core class files from Sun, like Button.class , located in the JDK installation folder C:\Program Files\Java\jdk1.5.0_12 ? Or do the class files reside in C:\Program Files\Java\jre1.5.0_12 folder? 回答1: They are spread between several jars. It looks like Button is in jre/lib/rt.jar though. 回答2: The class files actually reside as jar files inside the Java distribution being used. Most files are in rt.jar (runtime). Most developer machines