• Post Reply Bookmark Topic Watch Topic
  • New Topic

Using custom ClassLoader  RSS feed

 
Oren Gross
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there
I am implementing my own URLClassLoader (the one that uses all Jars is the application's lib directory). Now I want that this class loader will be the class loader in my app, i.e. every time someone calls new... it uses this class loader. In other wards, I would like to be able to do in my main something like


Anyone knows how to do it?

Oren
 
Oren Gross
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here is the answer:
http://forum.java.sun.com/thread.jspa?threadID=688811
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!