-
Notifications
You must be signed in to change notification settings - Fork 14
Description
I just ran into an issue on my Windows 10 laptop where I was trying to set up a Strategus module and renv was unable to install rJava. Installing rJava outside of renv::restore() worked fine.
The error message seemed to point to the absence of the Java JDK as the reason rJava could not be installed (which renv does from source by default). I was able to solve this issue by installing the Amazon Corretto 8 JDK. I had previously only installed the JRE per HADES setup instructions: https://ohdsi.github.io/Hades/rSetup.html#Installing_Java
The reason this is an Issue and not a PR is that I'm not sure that we want all users to install the JDK, or if this is a better recommendation just for Strategus users, or if there's another better solution :)