The process of loading and creating the nonarray class or interface C denoted by N using the bootstrap class loader is as follows.
First, the Java Virtual Machine determines whether the bootstrap class loader has already been recorded as an initiating loader of a class or interface denoted by N. If so, this class or interface is C, and no class loading or creation is necessary.
Otherwise, the Java Virtual Machine passes the argument N to an invocation of a method on the bootstrap class loader. To load C, the bootstrap class loader locates a purported representation of C in a platform-dependent manner, then asks the Java Virtual Machine to derive a class or interface C denoted by N from the purported representation using the bootstrap class loader, and then to create C, via the algorithm of §5.3.5.
Typically, a class or interface will be represented using a file in a hierarchical file system, and the name of the class or interface will be encoded in the pathname of the file to aid in locating it.
If no purported representation of C is found, the bootstrap class loader throws a ClassNotFoundException. The process of loading and creating C then fails with a NoClassDefFoundError whose cause is the ClassNotFoundException.
If a purported representation of C is found, but deriving C from the purported representation fails, then the process of loading and creating C fails for the same reason.
Otherwise, the process of loading and creating C succeeds.