How to unload library (DLL) from the JVM

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:

  • Invocation API docs (Sun) – look for “Library and Version Management”
  • Java JNI DLL Unloading tutorial

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)