java_quick_install {rJavaEnv} | R Documentation |
Download and install and set Java in current working/project directory
java_quick_install(
version = 21,
distribution = "Corretto",
project_path = NULL,
platform = platform_detect()$os,
arch = platform_detect()$arch,
quiet = FALSE,
temp_dir = FALSE
)
version |
|
distribution |
The Java distribution to download. If not specified, defaults to "Amazon Corretto". Currently only "Amazon Corretto" is supported. |
project_path |
A |
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. |
quiet |
A |
temp_dir |
A logical. Whether the file should be saved in a temporary directory. Defaults to |
Message indicating that Java was installed and set in the current working/project directory.
## Not run:
# quick download, unpack, install and set in current working directory default Java version (21)
java_quick_install(17, temp_dir = TRUE)
## End(Not run)