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

2011-08-11 Thread name name
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 xypron.g...@gmx.de 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 
 listHelp-glpk@gnu.orghttps://lists.gnu.org/mailman/listinfo/help-glpk



___
Help-glpk mailing list
Help-glpk@gnu.org
https://lists.gnu.org/mailman/listinfo/help-glpk


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

2011-08-11 Thread glpk xypron
java -Djava.library.path=/opt/glpk -Xmx512M -jar /bin/sbt-launch.jar
Hello Onor,

Check if /opt/glpk is really the path where libglpk_java.so is stored.
Make sure that libglpk.so is in the library load path.

Best regards

Xypron


-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!   
Jetzt informieren: http://www.gmx.net/de/go/freephone

___
Help-glpk mailing list
Help-glpk@gnu.org
https://lists.gnu.org/mailman/listinfo/help-glpk


[Help-glpk] The dynamic link library for GLPK for Java could not beloaded.

2011-07-27 Thread name name
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
Help-glpk@gnu.org
https://lists.gnu.org/mailman/listinfo/help-glpk


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

2011-07-27 Thread Xypron

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
Help-glpk@gnu.org
https://lists.gnu.org/mailman/listinfo/help-glpk


___
Help-glpk mailing list
Help-glpk@gnu.org
https://lists.gnu.org/mailman/listinfo/help-glpk