-------- 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
Hi,
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
test.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?
thanks
Frédéric Quesnel
PHD Student in applied mathematics
École Polytechnique de Montréal
_______________________________________________
Help-glpk mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-glpk