Use absolute path to library instead of String

This commit is contained in:
hedgecrw85 2018-08-08 08:47:51 -05:00
parent 93e125104f
commit 76d2089756
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ public final class SerialPort
fileContents.close();
// Load and initialize native library
System.load(tempFileName);
System.load(tempNativeLibrary.getAbsolutePath());
initializeLibrary();
}
}