Example usage for java.lang Runtime load

List of usage examples for java.lang Runtime load

Introduction

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

Prototype

@CallerSensitive
public void load(String filename) 

Source Link

Document

Loads the native library specified by the filename argument.

Usage

From source file:Main.java

public static void main(String[] args) {

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

}