Example usage for java.lang Runtime loadLibrary

List of usage examples for java.lang Runtime loadLibrary

Introduction

In this page you can find the example usage for java.lang Runtime loadLibrary.

Prototype

@CallerSensitive
public void loadLibrary(String libname) 

Source Link

Document

Loads the native library specified by the libname argument.

Usage

From source file:Main.java

public static void main(String[] args) {

    Runtime runTime = Runtime.getRuntime();
    runTime.loadLibrary("C:/Windows/System32/crypt32.dll");

}