'Java' Environments for R Projects
Clear the Java distributions cache folder
Clear the Java versions symlinked in the current project
Clear the Java installations cache folder
Manage Java installations and distributions caches
List the Java versions symlinked in the current project
List the contents of the Java installations cache folder
Global Quiet Parameter
Check installed Java version using terminal commands
Check Java Version with a Specified JAVA_HOME Using a Separate R Sessi...
Check and print Java path and version using system commands
Download a Java distribution
Update the .Rprofile file in the project directory
Set the JAVA_HOME and PATH environment variables for the current sessi...
Set the JAVA_HOME
and PATH
environment variables to a given path
Unset the JAVA_HOME and PATH environment variables in the project .Rpr...
Install Java from a distribution file
List the contents of the Java distributions cache folder
List the contents of the Java versions installed or cached
Download and install and set Java in current working/project directory
Unpack a Java distribution file into cache directory
Load Java URLs from JSON file
Get Available Online Versions of Amazon Corretto
Retrieve Valid Java Versions
Check Java version using rJava
Detect platform and architecture
rJavaEnv: 'Java' Environments for R Projects
Verify User Consent for rJavaEnv
Obtain User Consent for rJavaEnv
Helper for clean env var check
Test all Java URLs
Install specified Java version and set the JAVA_HOME
and PATH
envi...
Quickly install 'Java Development Kit (JDK)' without administrative privileges and set environment variables in current R session or project to solve common issues with 'Java' environment management in 'R'. Recommended to users of 'Java'/'rJava'-dependent 'R' packages such as 'r5r', 'opentripplanner', 'xlsx', 'openNLP', 'rWeka', 'RJDBC', 'tabulapdf', and many more. 'rJavaEnv' prevents common problems like 'Java' not found, 'Java' version conflicts, missing 'Java' installations, and the inability to install 'Java' due to lack of administrative privileges. 'rJavaEnv' automates the download, installation, and setup of the 'Java' on a per-project basis by setting the relevant 'JAVA_HOME' in the current 'R' session or the current working directory (via '.Rprofile', with the user's consent). Similar to what 'renv' does for 'R' packages, 'rJavaEnv' allows different 'Java' versions to be used across different projects, but can also be configured to allow multiple versions within the same project (e.g. with the help of 'targets' package). Note: there are a few extra steps for 'Linux' users, who don't have any 'Java' previously installed in their system, and who prefer package installation from source, rather then installing binaries from 'Posit Package Manager'. See documentation for details.
Useful links