[BRLTTY] BRLTTY Java bindings -- UnsatisfiedLinkError
Mario Lang
mlang at delysid.org
Sat May 23 05:57:58 EDT 2009
Simon Meers <drmeers at gmail.com> writes:
> I now have a need to use the Java bindings, as I am writing a Firefox
> extension, and I believe Java will be the easiest bridge from JavaScript.
> However I believe I have a binding/linking problem in my installation -- if
> I try to run this (in a plain Java program, with
> brltty/Bindings/Java/brlapi.jar in my classpath):
It is not enough to merely have brlapi.jar in the classpath, you also
need Bindings/Lisp/libbrlapi_java.so on your java.library.path.
Try -Djava.library.path=/path/to/build/Bindings/Java
or install into something like /usr/lib/jni, depending on how your
distro packages java exactly.
You might also get away by adding libbrlapi_java.so to the brlapi.jar
directly.
--
CYa,
⡍⠁⠗⠊⠕ | Debian Developer <URL:http://debian.org/>
.''`. | Get my public key via finger mlang/key at db.debian.org
: :' : | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44
`. `'
`- <URL:http://delysid.org/> <URL:http://www.staff.tugraz.at/mlang/>
More information about the BRLTTY
mailing list