Unloading Native Libraries Solutions
843829Oct 7 2004 — edited Feb 29 2008Hi all,
I have been reading through the different threads on this topic and have seen two reoccuring solutions being posted:
a)Use custom class loader for loading and use GC for unloading
b)Use a c/c++ wrapper library to load/unload libraries
I have a couple of questions:
1) Are there any changes in J2SE 5.0 that address the particular problem of wanting to unload a library?
2)In regards to solution b, is the c/c++ wrapper using windows libraries to load/unload the dll, or is it using native methods to interact with the jvm to load/unload dll's.
Also, if anyone has heard of any different solutions I would be interested in hearing.
Thanks in advance
Chetan