Closed skyafter closed 3 years ago
Hi,
I think the problem might be with your PATH and/or JAVA_HOME variables. Try Sys.setenv(JAVA_HOME="C:/Program Files/Java/jdk1.8.0_301")
(without /bin
) and see if this works. If it doesn't work, please type echo %PATH%
and echo %JAVA_HOME%
in your terminal. There should be something like C:\Program Files\Java\jdk1.8.0_301
for JAVA_HOME but C:\Program Files\Java/jdk1.8.0_301\bin
in PATH. If it doesn't, see, e.g. https://javatutorial.net/set-java-home-windows-10 for reference.
Thanks that solved my problem!
Hi,
I was trying to test the example codes in the Wolf-sheep model but found a constant error stopping any further running. The example codes I used are the sensitivity test and ABCmcmc_Marjoram calibration. I have read debugging notes in the ??run_nl_all() and think that there is no problem with file paths and software installation. I hope I could get some help or inspiration here if anybody knows how to fix it. Thanks in advance.
The error is:
The code I use is: