MY mENU


Thursday 9 February 2012

Class Loaders in Java


JVM includes at least one class loader that is embedded within the JVM called Bootstrap (primordial) class loader.

Types of class loaders :

Bootstrap : It loads all the JDK internal classes that are present in the rt.jar and i18n.jar.

Extensions : It Loads classes that are in jar files from JDK extensions directory i.e. lib/ext

System : It loads the classes from system classpath, the classes which are set by the CLASSPATH environment variable. CLASSPATH is an environment variable that contain active directory path.

No comments:

Post a Comment