Specifies the class path for locating platform-specific library
files for shared library support; for example, .dll, .so,
or *SRVPGM objects.
If you specify a value for Native Library Path, the native libraries
are not located by the WebSphere Application Server application or shared
library class loaders unless the following conditions exist:
- A class loads the native libraries.
- The application invokes a method in this class which loads the libraries.
For
example, in the class that loads the native library, call System.loadLibrary(native_library) in
a static block:
static {System.loadLibrary("native_library");
- The Classpath specified on this page contains the class that loads
the libraries.
Native libraries cannot be loaded more than once by a class loader. Thus,
it is preferable for native libraries to be loaded within shared libraries
associated with the class loader of an application server.
Data type |
String |
Units |
Class path |