install.java {installr} | R Documentation |
Install Java - downloads and set path openjdk
Description
Downloads and set path the latest version of openjdk for Windows.
Usage
install.java(
version = 11,
page_with_download_url = "https://jdk.java.net/java-se-ri/",
path = "C:/java"
)
install.Java(
version = 11,
page_with_download_url = "https://jdk.java.net/java-se-ri/",
path = "C:/java"
)
install.jdk(
version = 11,
page_with_download_url = "https://jdk.java.net/java-se-ri/",
path = "C:/java"
)
install.Jdk(
version = 11,
page_with_download_url = "https://jdk.java.net/java-se-ri/",
path = "C:/java"
)
install.openjdk(
version = 11,
page_with_download_url = "https://jdk.java.net/java-se-ri/",
path = "C:/java"
)
install.OpenJdk(
version = 11,
page_with_download_url = "https://jdk.java.net/java-se-ri/",
path = "C:/java"
)
Arguments
version |
9 or 10 is passible. Default is 11. |
page_with_download_url |
where to download. Default is https://jdk.java.net/java-se-ri/11 |
path |
where to set java. Default path is C:/java |
Details
install openjdk 9 or 10 version for windows.
Value
TRUE/FALSE - was the installation successful or not.
Author(s)
Chan-Yub Park And Tal Galili
Examples
## Not run:
install.java()
install.java(version = 11)
install.java(11)
## End(Not run)
[Package installr version 0.23.4 Index]