[Top][All Lists]

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

Re: [Help-glpk] [Fwd: problem glpk_4_55_java.dll for win32]

From: Heinrich Schuchardt
Subject: Re: [Help-glpk] [Fwd: problem glpk_4_55_java.dll for win32]
Date: Mon, 03 Nov 2014 21:33:24 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.1.2

Hello Frédéric,

your mail had to be forwarded manually because you have not joined the GLPK help list

If you want to run on 32bit Windows you need:
32bit Java runtime
32bit glpk_4_55.dll
32bit glpk_4_55_java.dll

From where did you take the file
C:\Program Files\GLPK\glpk-4.55\w32\glpk_4_55_java.dll ?

What is the output of
C:\Program Files\GLPK\glpk-4.55\w32\check_jni.bat

Best regards


On 31.10.2014 23:32, Andrew Makhorin wrote:
-------- Forwarded Message --------
From: frédéric quesnel <address@hidden>
To: address@hidden <address@hidden>
Subject: problem glpk_4_55_java.dll for win32
Date: Fri, 31 Oct 2014 11:07:55 -0400


I am trying to use glpk in a java application.  I want to create a
runnable jar file that can be used on another computer.

So far, I have succeded to export my project from eclipse and make it
run on my computer (I have a 32bit version of eclipse on a 64bit windows
7 computer)

I have also succeded to make it run on another computer (also windows 7
64 bit, with JDK environment installed)

However, my program fails when I try to run it on a 32bit windows Vista
computer (no java JDK, java JRE version is 1.6.20).

In all cases I downloaded GLPK for windows and installed it in "C:
\Program Files\GLPK\glpk-4.55\w32".
I have checked that GLPK is well installed and that the path environment
variable is correctly set.

The command I type to run the program is :

java -Djava.library.path="C:\Program Files\GLPK\glpk-4.55\w32" -jar

And I get the error (sorry for the french!):

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\glpk-4.55\w32
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError:
C:\Program Files\GLPK\glpk-4.55\w32\glpk_4_55_java.dll: %1 n'est pas une
application Win32 valide

Can you tell me what is wrong?


Frédéric Quesnel
PHD Student in applied mathematics
École Polytechnique de Montréal

Help-glpk mailing list

reply via email to

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