AWS corretto documentation change
Summary
Added documentation about alternative symlink paths and updated version numbers from 21.0.6 to 21.0.7
Security assessment
Symlink documentation is operational guidance. Version updates lack security-specific context.
Diff
diff --git a/corretto/latest/corretto-21-ug/amazon-linux-install.md b/corretto/latest/corretto-21-ug/amazon-linux-install.md index 80e480541..3a6289b1f 100644 --- a//corretto/latest/corretto-21-ug/amazon-linux-install.md +++ b//corretto/latest/corretto-21-ug/amazon-linux-install.md @@ -36,0 +37,2 @@ The installation location is `/usr/lib/jvm/java-21-amazon-corretto.<cpu_arch>`. +While it is recommended to use `/usr/lib/jvm/java-21-amazon-corretto.<cpu_arch>` location, installation may also add alternative links making installation location accessible via `/etc/alternatives/jre`, `/etc/alternatives/jre_21` and `/etc/alternatives/jre_21_openjdk` for JRE and `/etc/alternatives/java_sdk`, `/etc/alternatives/java_sdk_21` and `/etc/alternatives/java_sdk_21_openjdk` for JDK. The paths under `/etc/alternatives/` may point to another JDK depending on the packages installed and system configuration. + @@ -55 +57 @@ In the terminal, run the following command to verify the installation. -Expected output for 21.0.6: +Expected output for 21.0.7: @@ -58,3 +60,3 @@ Expected output for 21.0.6: - openjdk version "21.0.6" 2025-01-21 LTS - OpenJDK Runtime Environment Corretto-21.0.6.7.1 (build 21.0.6+7-LTS) - OpenJDK 64-Bit Server VM Corretto-21.0.6.7.1 (build 21.0.6+7-LTS, mixed mode, sharing) + openjdk version "21.0.7" 2025-04-15 LTS + OpenJDK Runtime Environment Corretto-21.0.7.6.1 (build 21.0.7+6-LTS) + OpenJDK 64-Bit Server VM Corretto-21.0.7.6.1 (build 21.0.7+6-LTS, mixed mode, sharing)