Originally posted by: M9HC_Keith_Hermiz
Hi,
I'm trying to run some java (running V7 build 51) code calling cplex 12.5 under eclipse (juno) on a mac running lion. I know this error has been addressed a number of times but I think I've done everything suggested to no avail. Error is:
java.lang.UnsatisfiedLinkError: no cplex125 in java.library.path
java.library.path must point to the directory containing the CPLEX shared library
try invoking java with java -Djava.library.path=...
cplex works from the command line. I can explicitly load the library libcplex125.jnilib with a System.load() yet I still get the above error. I have added the path to the library under the Native library for cplex.jar and have added the path VM parameter in the run configuration.
Any other things to try? I'm at a loss.
Thanks in advance.
#CPLEXOptimizers#DecisionOptimization