Downloads and set path the latest version of openjdk for Windows.
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" )
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. Default path is C:/java |
TRUE/FALSE - was the installation successful or not.
install openjdk 9 or 10 version for windows.
Chan-Yub Park And Tal Galili
if (FALSE) { install.java() install.java(version = 11) install.java(11) }