title: Java JNI: How to load library multiple times?
body: <p>I am trying to load the same library file using System.loadLibrary or System.load. The reason I do this is because they are the same code but different configuration. I want those 2 library files to have its own world without affecting each other. (If I change the value at left side, it's not going to change the right side) Is this doable? Or is Java going going to ignore my second System.loadLibrary call since it's already loaded?</p>
  
  <pre><code>--------------------------
  |          Java          |
  --------------------------
        |            |
        v            v
    libTst.so    libTst.so
        |            |
        v            v
     libA.so      libA.so
  </code></pre>