Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void loadLibs()
- {
- try
- {
- if (shouldLoadLinuxResources())
- {
- extractResourceToWorkingDir("/lib/linux", "ssc.so");
- }
- }
- catch (Exception error)
- {
- System.out.println("Failed to extract Working dir ssc.so");
- error.printStackTrace();
- }
- try
- {
- loadNativeLibrary("ssc");
- }
- catch (Exception error)
- {
- System.out.println("Failed to load ssc library");
- error.printStackTrace();
- }
- try
- {
- loadNativeLibrary("SSCAPIJNI");
- }
- catch (Exception error)
- {
- System.out.println("Failed to load SSCAPIJNI library");
- error.printStackTrace();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement