Skip to content

Windows R Setup should also include JDK installation? #36

@katy-sadowski

Description

@katy-sadowski

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 :)

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