Skip to content

error in java integration with driver_drake #1250

Open
@ARITRABANDOPADHYAY

Description

@ARITRABANDOPADHYAY

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 `

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions