JGCRI / gcam-core

GCAM -- The Global Change Analysis Model
http://jgcri.github.io/gcam-doc/
Other
263 stars 159 forks source link

Model Interface Java Error #231

Open CandeBergero opened 1 year ago

CandeBergero commented 1 year ago

Hello! I am trying to run GCAM on a MAC OS with M1 chip. I managed to get the xmls through the data system in R and run the model, but I cannot open the Model Interface from release package v6.0 (older MI versions work but do not open the database output). I get the following error:

ERROR launching 'ModelInterface'.

No suitable Java version found on your system! This program requires Java11 or later. Make sure you install the required Java version.

However, when I check the Java version on the Terminal it shows that I have a version older than 11: openjdk version "18.0.2" 2022-07-19 OpenJDK Runtime Environment (build 18.0.2+9-61) OpenJDK 64-Bit Server VM (build 18.0.2+9-61, mixed mode, sharing)

I am not sure what could be happening and would appreciate any leads!

Thank you!!! Cande

vxhuang commented 1 year ago

Having exactly the same issue here.

CandeBergero commented 1 year ago

I ended up downloading the release version of v5.4, and am using Model Interface from there to open the results from the run of v6.0, and that worked for me!

vxhuang commented 1 year ago

I am temporarily using the same method, but it seems that v5.4 Model Interface does not work on GCAM-USA emissions.

tjlca commented 1 year ago

I am getting the same error on an x64 machine (Intel) older macbook.

ERROR launching 'ModelInterface'.

No suitable Java version found on your system! This program requires Java11 or later. Make sure you install the required Java version

However, I am able to run GCAM. So JAVA is installed properly. Please help.

mv-p commented 1 month ago

Following up on this to see if anyone has figure it out. I am able to execute the run-gcam command, but when trying to open Model Interface I get the same response as CandeBergero. I am using GCAM7 download to look at the results, but here I am also running into an issue of not obtaining results for a query on the global temperature. Any help would be greatly appreciated.