Learn R Programming

installr (version 0.23.4)

install.java: 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" )

Value

TRUE/FALSE - was the installation successful or not.

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

Author

Chan-Yub Park And Tal Galili

Details

install openjdk 9 or 10 version for windows.

Examples

Run this code
if (FALSE) {
install.java() 
install.java(version = 11)
install.java(11)
}

Run the code above in your browser using DataLab