JGCRI / gcamdata

The GCAM data system
https://jgcri.github.io/gcamdata/
Other
44 stars 26 forks source link

error in java integration with driver_drake #1250

Open ARITRABANDOPADHYAY opened 11 months ago

ARITRABANDOPADHYAY commented 11 months ago

although the renv issue was resolved, i ran into another problem, while running driver_drake, i have updated the java path and using jdk-18.0.1.1. @pralitp, @enlochner, @kanishkan91, @crvernon, @pkyle, @bpbond can you please help me resolve this issue. Below i have given the codes and the error.

`> Sys.setenv(JAVA_HOME = 'C:\GCAM_V6\JAVA\jdk-18.0.1.1\')

devtools::load_all(".") Loading gcamdata driver_drake(xmldir = "xml/Other") GCAM Data System v5.1 Found 420 chunks Found 4265 chunk data requirements Found 2416 chunk data products 1452 chunk data input(s) not accounted for target xml.Other.magicc.xml x fail xml.Other.magicc.xml Error: target xml.Other.magicc.xml failed. diagnose(xml.Other.magicc.xml)$error$message: '"java"' not found diagnose(xml.Other.magicc.xml)$error$calls: run_xml_conversion(set_xml_file_helper(magicc.xml[[1]], file_out("xml/Other/magicc.xml"))) system2("java", args, stdout = TRUE, stderr = TRUE) In addition: Warning message: Missing files for target xml.Other.magicc.xml: xml/Other/magicc.xml `