Can you please provide all the command lines you ran to compile and run the cplex script?
Also the Java you are using?
On my side, I created a standard project in intellij, with /Library/Java/JavaVirtualMachines/jdk1.8.0_261.jdk to compile some CPLEX samples, then when running, I only needed to add the DYLD_LIBRARY_PATH env var.
------------------------------
Vincent Beraudier
------------------------------
Original Message:
Sent: Tue April 27, 2021 05:53 AM
From: Luis Masuch Ibanez
Subject: Using CPLEX via Java API on Mac M1
Hi Vincent,
I have already tried out both of those options, but neither one of them seems to work.
------------------------------
Luis Masuch Ibanez
Original Message:
Sent: Mon April 26, 2021 12:14 PM
From: Vincent Beraudier
Subject: Using CPLEX via Java API on Mac M1
Did you set the DYLD_LIBRARY_PATH environment variable to point to /Applications/CPLEX_Studio_Beta211/cplex/bin/x86-64_osx or add it in an eclipse run config parameter?
------------------------------
Vincent Beraudier
Original Message:
Sent: Sat April 10, 2021 07:25 AM
From: Luis Masuch Ibanez
Subject: Using CPLEX via Java API on Mac M1
I changed the title from my original post to clear any misunderstandings concerning my problem. This is the link to the original post:
https://community.ibm.com/community/user/datascience/communities/community-home/digestviewer/viewthread?GroupId=5557&MessageKey=9c67584d-af03-47e3-8142-22e13f586f0c&CommunityKey=ab7de0fd-6f43-47a9-8261-33578a231bb7&tab=digestviewer&ReturnUrl=%2fcommunity%2fuser%2fdatascience%2fcommunities%2fcommunity-home%2fdigestviewer%3fcommunitykey%3dab7de0fd-6f43-47a9-8261-33578a231bb7%26tab%3ddigestviewer
------------------------------
Luis Masuch Ibanez
------------------------------
#DecisionOptimization