code: public static LibraryLoader loader() {
          String type = System.getProperty("com.lambdaworks.jni.loader");
  
          if (type != null) {
              if (type.equals("sys")) return new SysLibraryLoader();
              if (type.equals("nil")) return new NilLibraryLoader();
              if (type.equals("jar")) return new JarLibraryLoader();
              throw new IllegalStateException("Illegal value for com.lambdaworks.jni.loader: " + type);
          }
  
          String vmSpec = System.getProperty("java.vm.specification.name");
          return vmSpec.startsWith("Java") ? new JarLibraryLoader() : new SysLibraryLoader();
      }
docs: Create a new {@link LibraryLoader} for the current VM.
  
  @return the loader.