File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes classloader Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "classloader" Watch "classloader" New topic
Author

classloader

siddharth das
Ranch Hand

Joined: Aug 17, 2007
Posts: 124
hi,
classloader is responsible for loading the class before creating the object of that class.
and jvm does this automatically..
but if we want to load a class ourselves,then we have to create a class that extends java.lang.ClassLoader class.

can you give an example with code,how it happens.
and i want to know in which case,we load the class ourselves.
please suggest me.
Thank You!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: classloader
 
Similar Threads
why different class loaders?
Setting classpath programmatically
Problem with dynamically setting the classpath at runtime
Classloader
Adding JAR file to Classpath at Runtime