Use absolute path to library instead of String
This commit is contained in:
parent
93e125104f
commit
76d2089756
|
@ -235,7 +235,7 @@ public final class SerialPort
|
|||
fileContents.close();
|
||||
|
||||
// Load and initialize native library
|
||||
System.load(tempFileName);
|
||||
System.load(tempNativeLibrary.getAbsolutePath());
|
||||
initializeLibrary();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue