fix some bug to support java jni

This commit is contained in:
spcxtelsa
2020-09-25 17:59:14 +08:00
committed by spcxtesla
parent 4ab9f5b0e0
commit 302e5f1615
4 changed files with 60 additions and 47 deletions

View File

@ -140,8 +140,8 @@ public class jic {
static {
try {
//System.loadLibrary("libic.so");
System.load("/home/x/TurboPFor/libic.so");
System.loadLibrary("ic");
// System.load("/home/x/TurboPFor/libic.so");
} catch (UnsatisfiedLinkError e) {
System.err.println("can't load Native TurboPFor from '" + System.getProperty("java.library.path") + "'" + e);
System.exit(1);