powered by
jdk
Install openjdk which is one of openjdk(java) distro. Case of MacOS, remove all java and reinstall corretto version 11.
openjdk
MacOS
corretto
install_jdk( path = jdk_path(), version = "11", gui = TRUE, run = "ask", force = FALSE )install_java( path = jdk_path(), version = "11", gui = TRUE, run = "ask", force = FALSE )
install_java( path = jdk_path(), version = "11", gui = TRUE, run = "ask", force = FALSE )
String; The location where jdk is (or should be) installed. See jdk_path for more details on the default path used by multilinguer.
multilinguer
String; Jdk version. Now only support "11". check inst/jdk.yaml.
Boolean; Some jdk supports os native installer. User can use the gui when in interactive mode and use Windows or MacOS.
Windows
c("ask","yes","no");If set "yes", installation proccess start. Default is "ask" to user.
Boolean; force install when is TRUE. Default is FALSE.
Other jdk-installer: jdk_path(), remove_jdk()
jdk_path()
remove_jdk()
if (FALSE) { install_java() install_jdk() }
Run the code above in your browser using DataLab