Skip to content
Advertisement

Tag: gurobi

UnsatisfiedLinkError on System.loadLibrary() after adding the directory to java.library.path

I would like to load the local library /opt/gurobi902/linux64/lib/libGurobiJni90.so within my Java IntelliJ Maven project on Ubuntu 19.10. My first attempt was adding the environment variable LD_LIBRARY_PATH like this: export LD_LIBRARY_PATH=”/opt/gurobi902/linux64/lib” (I know I have completly overwritten it instead of appending to it, because it was not set at all previously.) I thought it worked, because when I run the

Advertisement