Hosted by:
SourceForge
Get Firefox!

wrapper.native_library Property
wrapper.native_library Property
Configuration Property Overview
wrapper.native_library

The Java component of Java Service Wrapper requires that a native library be loaded to be able to handle system signals and perform other functions which are not possible using the the Java API. This property allows the name of the library to be modified to suit the needs of a particular application. In general, most users should not need to use this property.

The Java language specifies some rules about how Java Native Libraries (JNI) can be named. The Wrapper's library is no exception and must follow these naming conventions. To explain this we will use the default base name wrapper as an example. On Windows systems A file named wrapper.dll will be loaded. On Mac OSX systems, the name will be libwrapper.jnilib. And on all other Linux/UNIX platforms, the name will be libwrapper.so.

If this property is given any other value, that base-name will be used to construct the actual name of the native library file using the above rules. Regardless of the name specified, the native library must be located within a directory specified using the wrapper.java.library.path.<n> property.

Example:
wrapper.native_library=wrapper

by Leif Mortenson

last modified: