Hi, I am trying to run an R script that uses a java program, it makes use of java jdk 11. I have installed both openjdk and java oracle, set my default interpeter to java 11, succesfully ran sudo R CMD javareconf, but when I try to make use of the function I get the following error:
Thanks for the suggestion. When I run my script from the console I get no errors, but when I run in from Rstudio the error remains. I tried setting a variable within Rstudio environment but I’m getting the same error. Do you have any other suggestion?