Java Data Type Tutorial - Java System.loadLibrary(String libname)








Syntax

System.loadLibrary(String libname) has the following syntax.

public static void loadLibrary(String libname)

Example

In the following code shows how to use System.loadLibrary(String libname) method.


public class Main {

  public static void main(String[] args) throws Exception {

    System.loadLibrary("Abc.dll");
  }
}