[Top][All Lists]

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

[Help-glpk] Java Wrapper for GLPK

From: technical forestry services
Subject: [Help-glpk] Java Wrapper for GLPK
Date: Sun, 21 Sep 2014 09:32:09 +1200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1


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.

reply via email to

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