ensure absolute library path in Java Loader

This commit is contained in:
afloren
2023-03-30 17:21:27 -04:00
committed by Mizux
parent 7a0fd2ceb8
commit ea111e48be

View File

@@ -120,6 +120,7 @@ public class Loader {
// Load the native library
System.load(tempPath.resolve(RESOURCE_PATH)
.resolve(System.mapLibraryName("jniortools"))
.toAbsolutePath()
.toString());
loaded = true;
} catch (IOException e) {