How to unload library (DLL) from java JVM
-
19-08-2019 - |
Question
I need to unload a DLL that was loaded with System.loadLibrary(..)
, anyone know if this is possible?
Solution
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:
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow