Re: Telling Java where to find a native library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There's a CLASSPATH environment variable that probably hasn't been set or was set incorrectly in this case.On Mon, 23 Aug 2010, John J. Boyer wrote:

I have Java bindings for liblouisutdml, which is on my system in
/usr/local/lib with the name liblouisutdml.so I can't get the library
loader to find it. The distro is CentOS. The JDK is openjdk. the static
initializer contains the statement system.loadLibrary("liblouisutdml");
I get an unsatisfied link exception even if I set
-Djava.library.path=/usr/local/lib when calling the java interpreter and
when I set LD_LIBRAR_PATH to the same value. I even trieed louisutdml.so
ss a symbolic link in the current directory. Nothing works. What's the
secret?

Thanks,
John

--
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list




_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list


[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]