gcam-core icon indicating copy to clipboard operation
gcam-core copied to clipboard

Issues on run the release version of GCAM V5.4 on MAC

Open Fan-Ru opened this issue 3 years ago • 1 comments

The system is MACOS 12 system(M1). I am using oracle JDK 17 x86 version because the arm version failed to run. But the ModelInterface requires other versions of JAVA. By following the instruments of the computer, a version of JAVA 8 update 333 was automatically installed in the Library/ Internet Plug-ins/.... After the installation, ModelInterface can be successfully opened. Yet the 'java -version' in terminal still shows as "17.0.3.1". Then,I have the problem says that the error occurred as "Error occurred during initialization of VM. Failed setting boot class path" when running the run-gcam.command. The environmental variables were set as : JAVA_HOME=$(/usr/libexec/java_home) (with no non-english character in the work path) PATH=".$PATH:$JAVA_HOME/bin" CLASS_PATH=/exe/XMLDBDriver.jar:/libs/jars/*:/output/modelinterface/ModelInterface.jar What can I do to solve this problem?

Fan-Ru avatar May 13 '22 04:05 Fan-Ru

I switched to the 5.2 version and the problem was solved. Probably just a little bug for version 5.4.

Fan-Ru avatar May 19 '22 12:05 Fan-Ru