Amazon Corretto 25 Installation Instructions for Windows 10 or Later
This topic describes how to install and uninstall Amazon Corretto 25 on a host or container running the Windows 10 or later Windows operating system.
Install Amazon Corretto 25
-
Download a Windows
.msifile from the Downloads page. -
Double-click the .msi file to start the installation wizard.
-
Follow the steps in the wizard.
You have the option of setting a custom installation path. By default, Amazon Corretto 25 is installed at
C:\Program Files\Amazon Corretto\. If you set a custom path, make a note of it for the next step. -
Once the install wizard is finished, set the
JAVA_HOMEandPATHenvironment variables.Set
JAVA_HOMEto the installation location, noting that the directory contains the currently-installed version. For example, if the default directory is used for 25.0.1, then setJAVA_HOMEasC:\Program Files\Amazon Corretto\jdk25.0.1_8.Add
%JAVA_HOME%\binto the currentPATHvariable. -
Verify the installation by running java -version in a command prompt. You should see the following output.
openjdk version "25.0.1" 2025-10-21 LTS OpenJDK Runtime Environment Corretto-25.0.1.8.1 (build 25.0.1+8-LTS) OpenJDK 64-Bit Server VM Corretto-25.0.1.8.1 (build 25.0.1+8-LTS, mixed mode)
Uninstall Amazon Corretto 25
You can uninstall Amazon Corretto 25 by following the standard steps to uninstall an application from Windows.
-
Open Programs and Features.
-
Search for Amazon Corretto 25 and then select it.
-
Choose uninstall.