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?
No Just look at the library path and search for it. You can get the paths like this:
System.getProperty("java.library.path")
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 ...
Source: https://ru.stackoverflow.com/questions/3477/
All Articles