Displaying 5 results from an estimated 5 matches for "xapian_jni".
2012 Oct 02
1
Exception in thread "main" java.lang.UnsatisfiedLinkError: no xapian_jni in java.library.path
...lo
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>(WritableDataba...
2007 Feb 04
1
Java Bindings on a Mac
I had to make some changes (sorry no diff available) to "configure" in
0.9.9 of the bindings so that I could compile them for OS X 10.4.8.
Essentially I replaced the the paths to jni.h with
/System/Library/Frameworks/JavaVM.framework/Headers. It compiled
without error and created both libxapian_jni.so and xapian_jni.jar in
the "built" subdirectory when I ran "make install".
When I ran the example code (from the "java" directory) I got the following:
$ java -Djava.library.path=built -classpath built/xapian_jni.jar:. \
> org.xapian.examples.SimpleIndex ....
2012 Oct 04
0
Xapian-devel Digest, Vol 90, Issue 1
...-owner at lists.xapian.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Xapian-devel digest..."
>
>
> Today's Topics:
>
> 1. Exception in thread "main" java.lang.UnsatisfiedLinkError: no
> xapian_jni in java.library.path (Naveen A.N.)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 2 Oct 2012 18:12:47 +0530
> From: "Naveen A.N." <naveen at searchlabs.org>
> Subject: [Xapian-devel] Exception in threa...
2007 Nov 27
3
Problems with xapian php bindings in osx
Hello,
I am attempting to run the smoketest.php file from my devserver and
am getting nothing but errors. It looks like it did not install
correctly. Yesterday I compiled the source on os x and it appeared
to install just fine, but now it is not working at all. I tried to
replace the location of the xapian.php file with a hardcoded located
and got a different set of errors. Here are
2006 Dec 23
1
Re: Xapian jni
On Fri, Dec 22, 2006 at 12:31:08PM -0500, Alex Kushkuley wrote:
> If I understood correctly, the Xapian JNI layer keeps the "C-shadows"
> of all the org.xapian Java objects in hash maps untill objects are
> finalized by Java garbage collection. The java finalize method for an
> org.xapian object is overriden and among other things it calls native
> method that removes the