[Xapian-discuss] java bindings 1.0.0 - jni.h not found
James Aylett
james-xapian at tartarus.org
Thu May 31 16:58:29 BST 2007
On Thu, May 31, 2007 at 11:51:35AM -0400, Jarrod Roberson wrote:
> > (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>
Yes - unfortunately the operating system name is 'SunOS', but the
distribution is 'solaris'. (My terminology wasn't quite right.) We
could switch on that, but we might as well switch using the standard
OS detect stuff...
J
--
/--------------------------------------------------------------------------\
James Aylett xapian.org
james at tartarus.org uncertaintydivision.org
More information about the Xapian-discuss
mailing list