Hello everyone,
I have some trouble running CPLEX with Java on my Mac M1 with MacOs BigSur 11.2.3. Im using a Beta version of CPLEX (CPLEX_Studio_Beta211). When trying to run my script I'm receiving the following error message:
java.lang.UnsatisfiedLinkError: /Applications/CPLEX_Studio_Beta211/cplex/bin/x86-64_osx/libcplex2010.dylib: dlopen(/Applications/CPLEX_Studio_Beta211/cplex/bin/x86-64_osx/libcplex2010.dylib, 1): no suitable image found. Did find:
/Applications/CPLEX_Studio_Beta211/cplex/bin/x86-64_osx/libcplex2010.dylib: mach-o, but wrong architecture
/Applications/CPLEX_Studio_Beta211/cplex/bin/x86-64_osx/libcplex2010.dylib: mach-o, but wrong architecture
java.library.path must point to the directory containing the CPLEX shared library
try invoking java with java -Djava.library.path=...
I have already tried out several java-versions which don't seem to be the problem.
I would appreciate any help. Thanks in advance.
------------------------------
Luis Masuch Ibanez
------------------------------
#DecisionOptimization