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
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

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

Reply via email to