docs: static void loadLibrary0(String pLibrary, String pResource, ClassLoader pLoader) {
          if (pLibrary == null) {
              throw new IllegalArgumentException("library == null");
          }
  
          // Try loading normal way
          UnsatisfiedLinkError unsatisfied;
          try {
              System.loadLibrary(pLibrary);
              return;
          }
          catch (UnsatisfiedLinkError err) {
              // Ignore
              unsatisfied = err;
          }
  
          final ClassLoader loader = pLoader != null ? pLoader : Thread.currentThread().getContextClassLoader();
          final String resource = pResource != null ? pResource : getResourceFor(pLibrary);
  
          // TODO: resource may be null, and that MIGHT be okay, IFF the resource
          // is allready unpacked to the user dir... However, we then need another
          // way to resolve the library extension...
          // Right now we just fail in a predictable way (no NPE)!
          if (resource == null) {
              throw unsatisfied;
          }
  
          // Default to load/store from user.home
          File dir = new File(System.getProperty("user.home") + "/.twelvemonkeys/lib");
          dir.mkdirs();
          //File libraryFile = new File(dir.getAbsolutePath(), pLibrary + LIBRARY_EXTENSION);
          File libraryFile = new File(dir.getAbsolutePath(), pLibrary + "." + FileUtil.getExtension(resource));
  
          if (!libraryFile.exists()) {
              try {
                  extractToUserDir(resource, libraryFile, loader);
              }
              catch (IOException ioe) {
                  UnsatisfiedLinkError err = new UnsatisfiedLinkError("Unable to extract resource to dir: " + libraryFile.getAbsolutePath());
                  err.initCause(ioe);
                  throw err;
              }
          }
  
          // Try to load the library from the file we just wrote
          System.load(libraryFile.getAbsolutePath());
      }