[Xapian-devel] Exception in thread "main" java.lang.UnsatisfiedLinkError: no xapian_jni in java.library.path
Naveen A.N.
naveen at searchlabs.org
Tue Oct 2 13:42:47 BST 2012
Hello
I am trying to use the java binding for xapian .
I am using ubuntu i have compiled the java binding and i got .so and .jar
file in build directory.
i tried to compiled the sample program from eclipse i get this exception
Exception in thread "main" java.lang.UnsatisfiedLinkError: no xapian_jni in
java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1681)
at java.lang.Runtime.loadLibrary0(Runtime.java:840)
at java.lang.System.loadLibrary(System.java:1047)
at org.xapian.XapianJNI.<clinit>(XapianJNI.java:44)
at org.xapian.WritableDatabase.<init>(WritableDatabase.java:42)
at SimpleIndex.main(SimpleIndex.java:41)
Where do i need to copy the .so file and i am using openjdk.
regards,
Naveen.A.N
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20121002/d8b44e75/attachment.htm>
More information about the Xapian-devel
mailing list