![](../logo.png)
Download and install and set Java in current working/project directory
Source:R/java_quick_install.R
java_quick_install.Rd
Download and install and set Java in current working/project directory
Usage
java_quick_install(
version = 21,
distribution = "Corretto",
platform = platform_detect()$os,
arch = platform_detect()$arch,
verbose = TRUE
)
Arguments
- version
The Java version to download. If not specified, defaults to the latest LTS version.
- distribution
The Java distribution to download. If not specified, defaults to "Corretto".
- platform
The platform for which to download the Java distribution. Defaults to the current platform.
- arch
The architecture for which to download the Java distribution. Defaults to the current architecture.
- verbose
Whether to print messages. Defaults to TRUE.