Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.Loader Class Reference

Detailed Description

Load native libraries needed for using ortools-java.

Definition at line 37 of file Loader.java.

Classes

interface  PathConsumer

Static Public Member Functions

static synchronized void loadNativeLibraries ()
static synchronized void loadNativeLibraries ()

Member Function Documentation

◆ loadNativeLibraries() [1/2]

synchronized void com.google.ortools.Loader.loadNativeLibraries ( )
static

prints the name of the Operating System System.out.println("OS: " + System.getProperty("os.name"));

System.out.println("System.loadLibrary(\"jniortools\")");

Do nothing. System.out.println("Can't System.loadLibrary(jniortools)");

Load the native library System.out.println("System.load(" + System.mapLibraryName("jniortools") + ")");

Do nothing. System.out.println("Can't System.load(jniortools)");

On windows, try to load each libraries one by one. System.out.println("Prefix: " + Platform.RESOURCE_PREFIX);

libraries order does matter <LibraryName, isMandatory> !

System.out.println("System.load(" + dll.getKey() + ")");

Do nothing. System.out.println("unpack failed");

Definition at line 109 of file Loader.java.

◆ loadNativeLibraries() [2/2]

synchronized void com.google.ortools.Loader.loadNativeLibraries ( )
static

prints the name of the Operating System System.out.println("OS: " + System.getProperty("os.name"));

System.out.println("System.loadLibrary(\"jniortools\")");

Do nothing. System.out.println("Can't System.loadLibrary(jniortools)");

Load the native library System.out.println("System.load(" + System.mapLibraryName("jniortools") + ")");

Do nothing. System.out.println("Can't System.load(jniortools)");

On windows, try to load each libraries one by one. System.out.println("Prefix: " + Platform.RESOURCE_PREFIX);

libraries order does matter <LibraryName, isMandatory> !

System.out.println("System.load(" + dll.getKey() + ")");

Do nothing. System.out.println("unpack failed");

Definition at line 109 of file Loader.java.


The documentation for this class was generated from the following files:
  • ortools/java/com/google/ortools/Loader.java
  • build/java/ortools-java/src/main/java/com/google/ortools/Loader.java