System.out.println("Try to load: " + libname); Runtime.getRuntime().load(libname); } catch (UnsatisfiedLinkError e) { System.out.println("Failed to load: " + libname + " attempting: " + library); System.loadLibrary(library);
System.out.println("Problem");
  private static void LoadLibrary(String path, String library)    {    String lname = System.mapLibraryName(library);    String libname = path + System.getProperty("file.separator") +      lname;    try      {      System.out.println("Try to load: " + libname);      Runtime.getRuntime().load(libname);      }    catch (UnsatisfiedLinkError e)      {      System.out.println("Failed to load: " + libname + " attempting: " + library);      System.loadLibrary(library);      }    }