Fixes JNI

This commit is contained in:
Thad House
2016-11-06 19:28:14 -08:00
parent d4b48216e8
commit 468cac543f
2 changed files with 111 additions and 111 deletions

View File

@@ -20,7 +20,7 @@ public class CameraServerJNI {
static {
if (!libraryLoaded) {
try {
System.loadLibrary("cameraserver");
System.loadLibrary("cscore");
} catch (UnsatisfiedLinkError e) {
try {
String osname = System.getProperty("os.name");
@@ -61,7 +61,7 @@ public class CameraServerJNI {
}
System.load(jniLibrary.getAbsolutePath());
} else {
System.loadLibrary("cameraserver");
System.loadLibrary("cscore");
}
} catch (IOException ex) {
ex.printStackTrace();