humble-video-noarch/src/main/java/io/humble/ferry/JNILibrary.java
@SuppressWarnings("deprecation")
  public static void load(String appname, JNILibrary library) {
    // we force ALL work on all libraries to be synchronized
    synchronized (mLock) {
      deleteTemporaryFiles();
      try {
        library.load(appname);
      } catch (UnsatisfiedLinkError e) {
        // failed; faill back to old way
        JNILibraryLoader.loadLibrary(library.getName(), library.getVersion());
      }
    }
  }
@SuppressWarnings("deprecation")
  public static void load(String appname, JNILibrary library) {
    // we force ALL work on all libraries to be synchronized
    synchronized (mLock) {
      deleteTemporaryFiles();
      try {
        library.load(appname);
      } catch (UnsatisfiedLinkError e) {
        // failed; faill back to old way
        JNILibraryLoader.loadLibrary(library.getName(), library.getVersion());
      }
    }
  }
@ SuppressWarnings ( "deprecation" ) public static void load ( String appname , JNILibrary library ) { // we force ALL work on all libraries to be synchronized synchronized ( mLock ) { deleteTemporaryFiles ( ) ; try { library . load ( appname ) ; } catch ( UnsatisfiedLinkError e ) { // failed; faill back to old way JNILibraryLoader . loadLibrary ( library . getName ( ) , library . getVersion ( ) ) ; } } }
Load the given library into the given application.

This method first searches in the classpath for native libraries that are
bundled in there, and only if no matches are found, will it search the
run-time paths of each OS.

@param appname
the name of the application. This should match what shows up in
jar manifests or native property files.
@param library
the library object
@throws UnsatisfiedLinkError
if library cannot be loaded.
Load the given library into the given application .