You are here:
» Loading A Library
Loading a library
This Comment will be submitted for moderation and will not be accessible to other users until it has been approved.
To the mighty programmers over here: can anyone respond bk explaining how can i make a library load before anything is loaded. what would be the code for it?
Thanks

1 year 42 weeks ago
Tags:
try using a static block to load this library before anything gets called.
Example
class Test { static { System.loadLibrary("path-to-library-file"); } .... }When you call new Test(), the static block will be called first before anything gets called.
Hope this helps !
Post Comment