Displaying 1 result from an estimated 1 matches for "libxapian_jni".
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 ....