How is the Java Bootstrap Classloader loaded? [duplicate]
问题 This question already has answers here : What loads the java system classloader? (4 answers) Closed 2 years ago . In java, it is said that all the classes are being loaded by classloaders. So first of all, bootstrap classloader loads all the rt.jar classes. So I am still confused as Classloader is also a class, so who will load this BootStrapClassloader. Kindly explain. 回答1: Answer : When a JVM starts up, a special chunk of machine code runs that loads the system classloader. This machine