System class
loadLibrary
public static void loadLibrary(String libname)
Loads the system library specified by the libname argument. The manner in which a library name is mapped to the actual system library is system dependent.
The call System.loadLibrary(name) is effectively equivalent to the call Runtime.getRuntime().loadLibrary(name)
Parameters:
libname - the name of the library.
Throws:
SecurityException - if a security manager exists and its checkLink method doesn't allow loading of the specified dynamic library
UnsatisfiedLinkError - if the library does not exist.
See Also:
Runtime.loadLibrary(java.lang.String), SecurityManager.checkLink(java.lang.String)
loadLibrary
public static void loadLibrary(String libname)
Loads the system library specified by the libname argument. The manner in which a library name is mapped to the actual system library is system dependent.
The call System.loadLibrary(name) is effectively equivalent to the call Runtime.getRuntime().loadLibrary(name)
Parameters:
libname - the name of the library.
Throws:
SecurityException - if a security manager exists and its checkLink method doesn't allow loading of the specified dynamic library
UnsatisfiedLinkError - if the library does not exist.
See Also:
Runtime.loadLibrary(java.lang.String), SecurityManager.checkLink(java.lang.String)
java.lang.Object
|
+--java.lang.Class
| |
| +---forName(String className)
|
+----java.lang.reflect
|
+---Field
|
+---Method
|
......................
..............