Java: Fix fallback on external library.

This commit is contained in:
Peter Johnson
2015-09-05 10:57:37 -07:00
parent 07942bf422
commit 6233b3477b

View File

@@ -45,10 +45,7 @@ public class NetworkTablesJNI {
System.load(jniLibrary.getAbsolutePath());
} else {
if (osname.startsWith("Windows"))
System.loadLibrary("ntcore.dll");
else
System.loadLibrary("libntcore.so");
System.loadLibrary("ntcore");
}
} catch (IOException ex) {
ex.printStackTrace();