Search code examples
javashared-librariesbittorrent

java doesn't recognize so libraries


I'm trying to develop a BitTorrent client using the frostwire jlibtorrent librari, but when I run the program alwais obtain the error on the image.

How I can compile using the linux version of the library.enter image description here


Solution

  • Hi do you run on linux or windows or Mac? The exception indicates that a binary lib can be loaded or found. (the .so file as you indicate). There is a case the native lib included in the jar - is not compatible or has missing dependencies (links) on your host OS. See here.