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: name name
Subject: Re: [Help-glpk] The dynamic link library for GLPK for Java could not beloaded.
Date: Thu, 11 Aug 2011 12:10:29 +0200

I'm using from bst first run works but second I got

The dynamic link library for GLPK for Java could not beloaded.
Consider using
java -Djava.library.path=


I run as follow: java -Djava.library.path=/opt/glpk -Xmx512M -jar /bin/sbt-launch.jar




On Wed, Jul 27, 2011 at 9:06 PM, Xypron <address@hidden> wrote:
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]