Learn R Programming

installr (version 0.22.0)

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 = "http://jdk.java.net/java-se-ri/",
  path = "C:/java")

install.Java(version = 11, page_with_download_url = "http://jdk.java.net/java-se-ri/", path = "C:/java")

install.jdk(version = 11, page_with_download_url = "http://jdk.java.net/java-se-ri/", path = "C:/java")

install.Jdk(version = 11, page_with_download_url = "http://jdk.java.net/java-se-ri/", path = "C:/java")

install.openjdk(version = 11, page_with_download_url = "http://jdk.java.net/java-se-ri/", path = "C:/java")

install.OpenJdk(version = 11, page_with_download_url = "http://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 http://jdk.java.net/java-se-ri/11

path

where to set java. Defulat path is C:/java

Value

TRUE/FALSE - was the installation successful or not.

Details

install openjdk 9 or 10 version for windows.

Examples

Run this code
# NOT RUN {
install.java() 
install.java(version = 11)
install.java(11)
# }

Run the code above in your browser using DataLab