|
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, |
[Prev in Thread] | Current Thread | [Next in Thread] |