tags:

views:

1681

answers:

1

Hey I need to unload a dll that was loaded with System.loadLibrary(..), anyone know if this is possible? Thanks

+5  A: 

I don't have any experience of this, but a bit of digging shows that the library should be unloaded when the classloader which loaded the library is garbage collected.

Links:

Jon Skeet
Damn, I could have done with this answer about 18 months ago.
bmatthews68