in .bashrc is written:
PYTHONPATH="${PYTHONPATH}:$Home/local/lib/python2.7/site-packages/"
export PYTHONPATH
LD_LIBRARY_PATH="$Home/local/lib/"
export LD_LIBRARY_PATH
CLASSPATH="/home/stud/qe09kyvu/local/lib/liblpsolve55j.so"
export CLASSPATH
When i try to run this command:
java -cp .:../lib/lpsolve55j.jar -Djava.library.path=../liblpsolve55j.so Demo
i get the following error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no lpsolve55j in java.library.path
But i don't understand this error, because in ..
there is liblpsolve55j.so
Setting the java.library path. using Eclipse
1.Select your project in the Package Explorer area and press a right click on it.
2.Select Build Path → Configure Build Path... option.
3.In the appearing window, select the Libraries tab.
4.Then, expand the JRE System library option and select the Native library location.
5.Click on the Edit... button at the right panel.
6.Locate the required library and then click OK.
7.Close the window.