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

I have problem with opening the modelinterface though Java.

Open gkom1574 opened this issue 5 years ago • 1 comments

Hi I have tried to run the GCAM, but could not make it. I think I did well before opening the modelinterface. If there is anyone can fix this problem, please help me!

The main problem is (java.lang.NoClassDefFoundError: ).

root@Hanui-MacBookAir modelinterface # java -jar modelinterface.jar Error: Unable to initialize main class ModelInterface.InterfaceMain Caused by: java.lang.NoClassDefFoundError: joptsimple/OptionException root@Hanui-MacBookAir modelinterface #

Best Regards

gkom1574 avatar May 20 '20 05:05 gkom1574

Trying to run the ModelInterface.jar directly you need to ensure the third party libraries are included in the CLASSPATH such as described in the section describing "invoking the Model Interface from the command line here": https://jgcri.github.io/gcam-doc/user-guide.html#modelinterface

pralitp avatar Jul 13 '21 20:07 pralitp