There is a jni-library that loads like this:

static { System.loadLibrary("library"); } 

How to programmatically find out the way in which the library was actually loaded?

    2 answers 2

    No Just look at the library path and search for it. You can get the paths like this:

     System.getProperty("java.library.path") 
    • Well, that's okay. Practice working with files :) - cy6erGn0m

    And, I deceived you :) In fact, you can still write your own classifier .. there is a private method findLibrar. If you have your own classifier, then you can call it and drag it ... but it doesn't look very good ...

    • and still it will search the library itself. easier to specify the path entirely :) - Denis