title: Check if a dll library is already loaded? (Java)
body: <p>In a Java program i am writing i make a jni call to a dll and load the library on startup as follows</p>
  
  <pre><code>static
  {
     System.loadLibrary("LdapAuthenticator2");
  }
  </code></pre>
  
  <p>I then implemented another class that loads the same library and am getting an error saying that the library is already loaded, is there any way to check if the library is already running?</p>
  
  <p>Thanks,<br>
  -Pete</p>