loadLibrary

Load a library by name.

This call corresponds with System.loadLibrary but with adaptations for SVM compatibility; see JDK docs for detailed steps performed during library loading.

Libraries loaded in this manner are expected to be found on the java.library.path.

Return

A boolean value indicating whether the library was loaded successfully.

Parameters

name

The name of the library to load.


fun loadLibrary(path: String, name: String): Boolean

Load a library by path and name.

This call corresponds with System.load but with adaptations for SVM compatibility; see JDK docs for detailed steps performed during library loading.

Libraries loaded in this manner are expected to be found at the provided path.

Parameters

path

The path to the library.

name

The name of the library to load.