load
public static void load(java.lang.String libName)
Loads a library. This is done in three steps.
1. The library is tried to be load from the path list specified by the java.library.path property.
2. The library is tried to be load from the current directory.
3. The library is searched as a system resource (e.g. in the current .jar file),
copied to to temporary directory and loaded from there. Afterwards the temporary library is deleted.
The copying is necessary because libraries can't be loaded directly from .jar files.
- Parameters:
libName
- Library name (e.g. usbJava)
- Throws:
java.lang.UnsatisfiedLinkError