[Xapian-discuss] java bindings 1.0.0 - jni.h not found
Jarrod Roberson
jarrod at vertigrated.com
Thu May 31 16:51:35 BST 2007
On 5/31/07, James Aylett <james-xapian at tartarus.org> wrote:
>
>
> Sorry, I thought you'd said that this problem only appeared on linux.
>
> For the Sun JDK, there shouldn't be any other values, because they are
> the only platforms they support. Annoyingly, there's no good way of
> finding out which platform we're running (I was hoping
> java.lang.System.getProperties() would help, but it works in terms of
> processor type, not OS type).
System.getProperties("os.name") will return the "name" of the OS.
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/System.html#getProperties()<http://java.sun.com/j2se/1.5.0/docs/api/java/lang/System.html#getProperties%28%29>
More information about the Xapian-discuss
mailing list