Java version incompatible in GCAM 8.2 using MAC
I am using GCAM 8.2 with my mac.
After running the run-gcam.command, I got the following error:
Library not loaded: @rpath/libjvm.dylib
Reason: tried: '../libs/java/lib/libjvm.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')
I had the same issue, and I think it is related to the Java version (I had version 18, which was built on 'X86_64', and not the needed 'arm64' for Mac chip). I went on my terminal and installed OpenJDK17 via Homebrew (in the terminal: brew install openjdk@17). Then I had to configure my environment variables to point GCAM to the correct Java version. Then I updated the symbolic link located in my GCAM folder (libs/java/lib) to point to the newer version.
Then I got other errors with permissions and tbb library (and I had to "allow open" in system settings -> privacy & security) a bunch of times. And now GCAM v8.3 is running on my Mac M1 chip.
Thanks Cande! It iis working now!