This function downloads the latest Amazon Corretto version information from the Corretto GitHub endpoint and returns a data frame with details for all eligible releases.
java_valid_major_versions_corretto(
arch = NULL,
platform = NULL,
imageType = "jdk"
)A character vector of available major Corretto versions.
Optional character string for the target architecture (e.g., "x64").
If NULL, it is inferred using platform_detect().
Optional character string for the operating system (e.g., "windows", "macos", "linux").
If NULL, it is inferred using platform_detect().
Optional character string to filter on; defaults to "jdk". Can be set to "jre" for Windows Java Runtime Environment.
It leverages the existing platform_detect() function to infer the current operating
system and architecture if these are not provided.