Hi Xypron,

yes, swapping the files leads to problems. For example when using the .jar 
generated on the Linux machine on my Mac OS X laptop, I get the following 
exception:

Exception in thread "main" java.lang.UnsatisfiedLinkError: 
org.gnu.glpk.GLPKJNI.GLP_BR_PCH_get()I
        at org.gnu.glpk.GLPKJNI.GLP_BR_PCH_get(Native Method)
        at org.gnu.glpk.GLPKConstants.<clinit>(GLPKConstants.java:66)

This is glpk 4.43 and glpk-java 1.0.13. I think the same error occurs on the 
Linux machine when using the .jar generated on the Mac laptop (I'm not at work, 
so I can't post the exact error message right now). 

They also have different file sizes:

-rw-r--r--   1 fabio  staff    49K 31 May 19:18 linux64-glpk-java.jar
-rw-r--r--   1 fabio  staff    43K 31 May 19:18 mac64-glpk-java.jar

Best,
Fabio

On 31 May 2010, at 19:09, glpk xypron wrote:

> Hello Fabio,
> 
> the jar files created for one version of glpk-java should be
> completely interchangeable.
> 
>> I've successfully compiled glpk and gplk-java
>> under Mac OS X 64bit and Linux 64bit).
> Did you experience any problems swaping the jar files?
> 
> Best regards
> 
> Xypron


_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to