How to retrieve the path of a shared library that was loaded using System.loadLibrary?
Printable View
How to retrieve the path of a shared library that was loaded using System.loadLibrary?
Hmmm. You already got an answer here. Maybe you should tell us what you're trying to accomplish (i.e. why would you need the path?) and see it you are going about things the right way.
The doc for loadLibrary says: "The manner in which a library name is mapped to the actual system library is system dependent." Looks like you'd need to get the path that the OS uses and do a file search on that
Thank you all for your time.