[Top][All Lists]

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

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

From: Andrew Makhorin
Subject: [Help-glpk] [Fwd: problem glpk_4_55_java.dll for win32]
Date: Sat, 01 Nov 2014 02:32:19 +0400

-------- 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

reply via email to

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