Here you can find the source of loadSystemLibrary(String library)
public static void loadSystemLibrary(String library) throws UnsatisfiedLinkError
//package com.java2s; //License from project: BSD License import java.io.File; public class Main { /**/*from w w w . jav a2 s .c o m*/ * Checks for the presence of a system library (.dll or .so file) by attempting * to load it. * * throws UnsatisfiedLinkError If the system library could not be found. */ public static void loadSystemLibrary(String library) throws UnsatisfiedLinkError { File libraryFile = new File(library); if (libraryFile.isAbsolute()) { System.load(library); } else { System.loadLibrary(library); } } }