if (FALSE) {
# Retrieve valid Java versions (cached if available) using Amazon Corretto endpoint
versions <- java_valid_versions()
# Force refresh the list of Java versions using the Oracle endpoint
versions <- java_valid_versions(distribution = "Corretto", force = TRUE)
}
Run the code above in your browser using DataLab