Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in java integration with driver_drake #1250

Open
ARITRABANDOPADHYAY opened this issue Dec 7, 2023 · 0 comments
Open

error in java integration with driver_drake #1250

ARITRABANDOPADHYAY opened this issue Dec 7, 2023 · 0 comments

Comments

@ARITRABANDOPADHYAY
Copy link

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 `

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant