[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] Java Wrapper for GLPK

From: Heinrich Schuchardt
Subject: Re: [Help-glpk] Java Wrapper for GLPK
Date: Sun, 21 Sep 2014 03:03:11 +0200

>> Can't find dependent libraries

This indicates that the GLPK library glpk_4_55.dll is not in the search path for binaries.

Best regards

Heinrich Schuchardt

technical forestry services <address@hidden>schrieb:

I am encountering the following linker error when attempting to use GLPK via a Java wrapper.

The dynamic link library for GLPK for Java could not be loaded.
Consider using
java -Djava.library.path=
The current value of system property java.library.path is:
C:\Program Files\GLPK\winglpk-4.55\glpk-4.55\w64
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Program Files\GLPK\winglpk-4.55\glpk-4.55\w64\glpk_4_55_java.dll: Can't find dependent libraries
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary1(
    at java.lang.ClassLoader.loadLibrary0(
    at java.lang.ClassLoader.loadLibrary(
    at java.lang.Runtime.loadLibrary0(
    at java.lang.System.loadLibrary(
    at org.gnu.glpk.GLPKJNI.<clinit>(
    at org.gnu.glpk.GLPK.glp_create_prob(
    at org.GMPL.Gmpl.solve(
    at org.user.UserMain.main(

The error arises from  my call to glp_create_prob().

I am using Eclipse and have set the JNI Java library path to the path indicated above :
C:\Program Files\GLPK\winglpk-4.55\glpk-4.55\w64

Appreciate your help.

Many thanks.


This email is free from viruses and malware because avast! Antivirus protection is active.

_______________________________________________ Help-glpk mailing list address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]