AWS Security ChangesHomeSearch

AWS corretto documentation change

Service: corretto · 2025-10-16 · Documentation low

File: corretto/latest/corretto-25-ug/amazon-linux-install.md

Summary

Added installation instructions using yum package manager with headless/JDK/JMods variants and clarified installation paths

Security assessment

While headless variants reduce attack surface by removing GUI dependencies, the changes primarily document installation methods rather than explicitly addressing security issues or features.

Diff

diff --git a/corretto/latest/corretto-25-ug/amazon-linux-install.md b/corretto/latest/corretto-25-ug/amazon-linux-install.md
index c127aca2f..96647475c 100644
--- a//corretto/latest/corretto-25-ug/amazon-linux-install.md
+++ b//corretto/latest/corretto-25-ug/amazon-linux-install.md
@@ -5 +5 @@
-Download and Install RPMs ManuallyVerify Your InstallationUninstall Amazon Corretto 25
+Option 1: Install using the yum Package Manager on Amazon Linux Option 2: Download and Install RPMs ManuallyVerify Your InstallationUninstall Amazon Corretto 25
@@ -11 +11,29 @@ This topic describes how to install and uninstall Amazon Corretto 25 on a host o
-## Download and Install RPMs Manually
+##  Option 1: Install using the yum Package Manager on Amazon Linux 
+
+Amazon Corretto 25 has a 'headless' variant available. This variant omits runtime dependencies that are typically associated with GUI applications such as X11 and ALSA and is worth considering for server-oriented workloads. The 'headful' variant adds support for X11 and ALSA. There is also a 'devel' package which contains the JDK development tools, as well as a 'jmods' package that contains the Amazon Corretto 25 JMods used to create custom runtime images. 
+
+Option 1: Install the headless Amazon Corretto 25:
+    
+    
+    sudo yum install java-25-amazon-corretto-headless
+
+Option 2: Install the headful Amazon Corretto 25:
+    
+    
+    sudo yum install java-25-amazon-corretto
+
+Option 3: Install the JDK for Amazon Corretto 25:
+    
+    
+    sudo yum install java-25-amazon-corretto-devel
+
+Option 4: Install the JMods for Amazon Corretto 25:
+    
+    
+    sudo yum install java-25-amazon-corretto-jmods
+
+The installation location is `/usr/lib/jvm/java-25-amazon-corretto.<cpu_arch>`. 
+
+While it is recommended to use `/usr/lib/jvm/java-25-amazon-corretto.<cpu_arch>` location, installation may also add alternative links making installation location accessible via `/etc/alternatives/jre`, `/etc/alternatives/jre_25` and `/etc/alternatives/jre_25_openjdk` for JRE and `/etc/alternatives/java_sdk`, `/etc/alternatives/java_sdk_25` and `/etc/alternatives/java_sdk_25_openjdk` for JDK. The paths under `/etc/alternatives/` may point to another JDK depending on the packages installed and system configuration. 
+
+## Option 2: Download and Install RPMs Manually