Home arrow static arrow Java Programming [Archive] - Custom Loader
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - Custom Loader
This topic has 1 reply on 1 page.

Registered: 7/20/04
Custom Loader  
Jul 20, 2004 9:06 AM

After I have a custom loader, is there a way for it to be called automatically whenever a new class needs to be loaded, instead of doing something like:

MyClassLoader loader = new MyClassLoader();

What I want to do is place a Jar file somewhere other than lib\ext and I don't want to modify the classpath environment variable. What I'm hoping is somehow that myclassloader is automatically called first and then the system classloader.

Thank you for the help.

Registered: 2/3/03
Re: Custom Loader  
Jul 20, 2004 9:14 AM (reply 1 of 1)

[url=http://java.sun.com/j2se/1.4.2/docs/tooldocs/findingclasses.html]How Classes are Found[/url]
This topic has 1 reply on 1 page.