Posts Tagged ‘loadClass’


ClassLoader is responsible for finding and loading class file at run time.ClassLoader class is located in java.lang package.we can subclass it to our functionality for class loading

Whenever a new JVM is started ,
> Bootstrap class loader is responsible for loading java classes like java.lang.Object and other runtime code into memory first.Runtime classes are in rt.jar file
>next comes java extension class loader(path java.ext.dirsExtClassLoader).
here we can place our .jar files since it will be loaded automatically when jvm starts
>lastly ,AppClassLoader which will load classes kept in the java.class.path System property


Read Full Post »