Forums Register Login

Using custom ClassLoader

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
This tiny ad is wafer thin:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 552 times.
Similar Threads
why ClassCastException ?
Dynamic classloading without .forName/.newInstance
Unable to deploy my application on JBoss 5.1
definition of "bootstrap"?
How to retrieve Internationalized messages from .java code base?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 15, 2024 23:55:34.