UnsatisfiedLinkError in window xp sp3
hao0111 opened this issue · 1 comments
JniDBFactory.factory.open(dbPath, options);
my os is window xp sp3 version,Could U help me!!! i use leveldbjni-1.8.jar (maven leveldbjni-win32 ),it throw exception,as follow:
Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no leveldbjni32-1.8 in java.library.path, no leveldbjni-1.8 in java.library.path, no leveldbjni in java.library.path, C:\Documents and Settings\Justic\Local Settings\Temp\leveldbjni-32-1-55597694747868012.8: 找不到指定的程序。]
at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)
at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)
at org.fusesource.leveldbjni.JniDBFactory.(JniDBFactory.java:48)
at com.my.jar.one.leveldb.LevelHello.main(LevelHello.java:25)
How could i fix it!!! thank U for your help!!!!
You need to add native windows leveldb library to your java classpath.