There’s a bit of a difference between unloading and uninstalling, Octaviano. :-)
There is no Java-approved way to unload a native library (there is no System.unloadLibrary() call.) This is part of the reason Java has so often downplayed JNI in general. You might be able to write a JNI call to do a dlunload() (or whatever its equivalent on Dalvik/Android is), but that would itself require another native library.
Ted Neward
Java, .NET, XML Services
Consulting, Teaching, Speaking, Writing