help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] The dynamic link library for GLPK for Java could not bel


From: Xypron
Subject: Re: [Help-glpk] The dynamic link library for GLPK for Java could not beloaded.
Date: Wed, 27 Jul 2011 21:06:06 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110626 Icedove/3.1.11

Dear Onor,

the Java system parameter java.library.path defines the directories that are searched for native libraries.

java.library.path should point to the directory where you have stored
Linux: libglpk_java.so
Windows: glpk_4_45_java.dll

On Linux this path typically is /usr/local/lib/jni, or /usr/lib/jni.

For example you could call your Java class like this:

java -Djava.library.path=/usr/local/lib/jni MyClass

If you start your program from Netbeans or Eclipse, you can save the parameter value in the project properties.

Best regards

Xypron


On 27.07.2011 19:27, name name wrote:
Hello,

I have just change my java version and I can't run any more glpk
I got
The dynamic link library for GLPK for Java could not beloaded.
Consider using
java -Djava.library.path=

whot should i do?
how can I change java -Djava.library.path? where is it and where should I put it?

thank you

Onor
_______________________________________________ Help-glpk mailing list address@hidden https://lists.gnu.org/mailman/listinfo/help-glpk


reply via email to

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