# Download Amazon Corretto 21

> Amazon Corretto 21 is a Long-Term Supported (LTS) distribution of OpenJDK 21

- Canonical page: https://everyversion.net/amazon-corretto-21/
- Publisher: Amazon
- Latest: Windows 21.0.13.1, macOS 21.0.13.1.2 (Windows build released 2026-11-17)
- Platforms: Windows, macOS
- License: GPL-2.0 with Classpath Exception (https://aws.amazon.com/corretto/faqs/#Licensing_and_Open_Source)
- Price: Free and open source
- Website: https://docs.aws.amazon.com/corretto/latest/corretto-21-ug/what-is-corretto-21.html
- Support: https://github.com/corretto/corretto-21/issues
- Bug tracker: https://github.com/corretto/corretto-21/issues
- winget ID: Amazon.Corretto.21.JDK

- Homebrew cask: corretto@21

- Verification: level 1 — Hashes re-computed from the publisher’s download: 3 of 3 installers match the upstream manifest. Checked by Cristian Gonzalez Guasch.
- Source (Windows): winget-pkgs @ b7b8eee446e98255ff01080cede5642c71c8ef93 — https://github.com/microsoft/winget-pkgs/tree/b7b8eee446e98255ff01080cede5642c71c8ef93/manifests/a/Amazon/Corretto/21/JDK
- Source (macOS): Homebrew cask @ eb30e54fc76f3b6d6b6cb026df6fef44718ed7f7 — https://github.com/Homebrew/homebrew-cask/blob/eb30e54fc76f3b6d6b6cb026df6fef44718ed7f7/Casks/c/corretto@21.rb

## Description

Amazon Corretto is a no-cost, multiplatform, production-ready distribution of the Open Java Development Kit (OpenJDK). Corretto comes with long-term support that includes performance enhancements and security fixes. Amazon runs Corretto internally on thousands of production services and Corretto is certified as compatible with the Java SE standard. With Corretto, you can develop and run Java applications on popular operating systems, including Linux, Windows, and macOS.
Amazon Corretto 21 is a Long-Term Supported (LTS) distribution of OpenJDK 21.

**Best for:** Java developers and ops teams who need a free, certified Java 21 runtime with a published support date, on or off AWS.

### Features

- **Free Java 21 with a long runway:** Corretto 21 is Amazon's build of OpenJDK 21. Amazon plans quarterly updates, with its last planned update in July 2030 and end of life in October 2030.
- **No AWS account needed:** It is free to use and redistribute under GPLv2 with the Classpath Exception. Long-term support does not depend on an AWS support plan, which is only for people who want paid help.
- **Certified, with a few extra fixes:** It passes the Java TCK, so it meets the Java SE standard. Amazon adds patches for speed and stability that have not yet reached upstream OpenJDK.
- **Urgent fixes between releases:** Security and other urgent fixes can ship outside the quarterly cycle when they are ready, so check for updates more often than once a quarter.
- **Set JAVA_HOME yourself on Windows:** The Windows MSI is x64, installs for the whole machine under `C:\Program Files\Amazon Corretto\`, and Amazon's guide tells you to set `JAVA_HOME` and `PATH` after the wizard.
- **Mac needs admin rights:** The Mac .pkg comes in Intel and Apple silicon builds, needs administrator rights, and installs to `/Library/Java/JavaVirtualMachines/`. Run `/usr/libexec/java_home --verbose` to see the path.
- **Linux and versions:** Amazon also builds Corretto for Linux, including musl for Alpine, but this site lists Windows and Mac only. The Windows listing keeps 15 versions; macOS lists only the current release, so downgrades there need another source.

## Windows

### What the installer does
- Delivered as a Windows Installer package built with WiX (.msi) for x64.
- Installs for all users on the PC, which normally requires administrator rights.
- No custom silent switch is declared; winget falls back to its default for this installer type (`/quiet /norestart`).
- Associates with the file types `.class`, `.jar`, `.java`, and `.jsp`.
- Adds the command-line commands `jar`, `jarsigner`, `java`, `javac`, `javadoc`, `javap`, `javaw`, `jconsole`, `jdeprscan`, and `jdeps`.
- Upgrades install over the existing version.

### PC requirements
- **CPU architecture:** x64 (64-bit)

### Versions (newest first)

#### 21.0.13.1 — 2026-11-17

- x64 wix (machine): amazon-corretto-21.0.13.1.2-windows-x64.msi
  - url: https://corretto.aws/downloads/resources/21.0.13.1.2/amazon-corretto-21.0.13.1.2-windows-x64.msi
  - sha256: fd52d8bbc21f715e0f865f468f3420170a7bc3edf16aab0baeb630a3a432dff3
Release notes: https://github.com/corretto/corretto-21/blob/develop/CHANGELOG.md

Pin: `winget install --id Amazon.Corretto.21.JDK --version 21.0.13.1 --exact`

#### 21.0.13.0 — 2026-10-27

- x64 wix (machine): amazon-corretto-21.0.13.0.11-windows-x64.msi
  - url: https://corretto.aws/downloads/resources/21.0.13.0.11/amazon-corretto-21.0.13.0.11-windows-x64.msi
  - sha256: 9b2470f031616c8ce92274ef64635551659e644af94b6bac8fd72a84f59211e3
Release notes: https://github.com/corretto/corretto-21/blob/develop/CHANGELOG.md

Pin: `winget install --id Amazon.Corretto.21.JDK --version 21.0.13.0 --exact`

#### 21.0.12.12 — 2026-09-26

- x64 wix (machine): amazon-corretto-21.0.12.12.1-windows-x64.msi
  - url: https://corretto.aws/downloads/resources/21.0.12.12.1/amazon-corretto-21.0.12.12.1-windows-x64.msi
  - sha256: 1e60e8033e843b29692a56a4dbaf5bcff13f39968fdd467699c14ae4ac88fad6
Release notes: https://github.com/corretto/corretto-21/blob/develop/CHANGELOG.md

Pin: `winget install --id Amazon.Corretto.21.JDK --version 21.0.12.12 --exact`

#### 21.0.12.9 — 2026-08-18

- x64 wix (machine): amazon-corretto-21.0.12.9.1-windows-x64.msi
  - url: https://corretto.aws/downloads/resources/21.0.12.9.1/amazon-corretto-21.0.12.9.1-windows-x64.msi
  - sha256: 784622dca2d50d5c57e304a7d672cd4d1be580019ec9c61fca1b314a59416b0d
Release notes: https://github.com/corretto/corretto-21/blob/develop/CHANGELOG.md

Pin: `winget install --id Amazon.Corretto.21.JDK --version 21.0.12.9 --exact`

#### 21.0.12.8 — 2026-07-22

- x64 wix (machine): amazon-corretto-21.0.12.8.1-windows-x64.msi
  - url: https://corretto.aws/downloads/resources/21.0.12.8.1/amazon-corretto-21.0.12.8.1-windows-x64.msi
  - sha256: c74844499e9c234050b1fbd89027fee94f99a0139dc4648acc2b461a63d333c0
Release notes: https://github.com/corretto/corretto-21/blob/develop/CHANGELOG.md

Pin: `winget install --id Amazon.Corretto.21.JDK --version 21.0.12.8 --exact`

#### 21.0.11.10 — 2026-04-22

- x64 wix (machine): amazon-corretto-21.0.11.10.1-windows-x64.msi
  - url: https://corretto.aws/downloads/resources/21.0.11.10.1/amazon-corretto-21.0.11.10.1-windows-x64.msi
  - sha256: df8d443f0ab1eca0d1b95177d3d45a100616ecfab93226a2f126dd1f3baafb50
Release notes: https://github.com/corretto/corretto-21/blob/develop/CHANGELOG.md

Pin: `winget install --id Amazon.Corretto.21.JDK --version 21.0.11.10 --exact`

#### 21.0.10.7 — 2026-01-20

- x64 wix (machine): amazon-corretto-21.0.10.7.1-windows-x64.msi
  - url: https://corretto.aws/downloads/resources/21.0.10.7.1/amazon-corretto-21.0.10.7.1-windows-x64.msi
  - sha256: 1f985affc881fb6da45445e648e40460f0cbfebbc3ce771d5d71001f203a3f9f
Release notes: https://github.com/corretto/corretto-21/blob/develop/CHANGELOG.md

Pin: `winget install --id Amazon.Corretto.21.JDK --version 21.0.10.7 --exact`

#### 21.0.9.10 — 2025-10-21

- x64 wix (machine): amazon-corretto-21.0.9.10.1-windows-x64.msi
  - url: https://corretto.aws/downloads/resources/21.0.9.10.1/amazon-corretto-21.0.9.10.1-windows-x64.msi
  - sha256: 401138aa60ee8851636d54f1a2508484732da23f579668274cb15732042caab9
Release notes: https://github.com/corretto/corretto-21/blob/develop/CHANGELOG.md

Pin: `winget install --id Amazon.Corretto.21.JDK --version 21.0.9.10 --exact`

#### 21.0.8.9 — 2025-07-16

- x64 wix (machine): amazon-corretto-21.0.8.9.1-windows-x64.msi
  - url: https://corretto.aws/downloads/resources/21.0.8.9.1/amazon-corretto-21.0.8.9.1-windows-x64.msi
  - sha256: d437e2ec336364c95b91bb9ac348a205b5a31208b0b324fcf1e2bb2127715f4c
Release notes: https://github.com/corretto/corretto-21/blob/develop/CHANGELOG.md

Pin: `winget install --id Amazon.Corretto.21.JDK --version 21.0.8.9 --exact`

#### 21.0.7.6 — 2025-04-15

- x64 wix (machine): amazon-corretto-21.0.7.6.1-windows-x64.msi
  - url: https://corretto.aws/downloads/resources/21.0.7.6.1/amazon-corretto-21.0.7.6.1-windows-x64.msi
  - sha256: fb076428129c362d9b8960b6db1d01f8123f03583df18f894801e127f87543b9
Release notes: https://github.com/corretto/corretto-21/blob/develop/CHANGELOG.md

Pin: `winget install --id Amazon.Corretto.21.JDK --version 21.0.7.6 --exact`

#### 21.0.6.7 — 2025-01-21

- x64 wix (machine): amazon-corretto-21.0.6.7.1-windows-x64.msi
  - url: https://corretto.aws/downloads/resources/21.0.6.7.1/amazon-corretto-21.0.6.7.1-windows-x64.msi
  - sha256: b411cd5a697b109a7287e25343612672f7cdde3e86245d58f2f9edf2d0195beb
Release notes: https://github.com/corretto/corretto-21/blob/develop/CHANGELOG.md

Pin: `winget install --id Amazon.Corretto.21.JDK --version 21.0.6.7 --exact`

#### 21.0.5.11 — 2024-10-16

- x64 wix (machine): amazon-corretto-21.0.5.11.1-windows-x64.msi
  - url: https://corretto.aws/downloads/resources/21.0.5.11.1/amazon-corretto-21.0.5.11.1-windows-x64.msi
  - sha256: ebe13393bec0da43e1cb70382ef4d600b6c822439702164cea3d148271e37436
Release notes: https://github.com/corretto/corretto-21/blob/develop/CHANGELOG.md

Pin: `winget install --id Amazon.Corretto.21.JDK --version 21.0.5.11 --exact`

#### 21.0.4.7 — 2024-07-16

- x64 wix (machine): amazon-corretto-21.0.4.7.1-windows-x64.msi
  - url: https://corretto.aws/downloads/resources/21.0.4.7.1/amazon-corretto-21.0.4.7.1-windows-x64.msi
  - sha256: 0ed3eab1d4e6b66a93255776073f692bb9adc0a5a0a63db9170a5db1d934203d
Release notes: https://github.com/corretto/corretto-21/blob/develop/CHANGELOG.md

Pin: `winget install --id Amazon.Corretto.21.JDK --version 21.0.4.7 --exact`

#### 21.0.3.9

- x64 wix (machine): amazon-corretto-21.0.3.9.1-windows-x64.msi
  - url: https://corretto.aws/downloads/resources/21.0.3.9.1/amazon-corretto-21.0.3.9.1-windows-x64.msi
  - sha256: dced1dc5b054ff8d7abe58dc660457677f6ca8a6c179c44be3d2eed456b59f82
Release notes: https://github.com/corretto/corretto-21/blob/develop/CHANGELOG.md

Pin: `winget install --id Amazon.Corretto.21.JDK --version 21.0.3.9 --exact`

#### 21.0.0.35

- x64 wix (machine): amazon-corretto-21.0.0.35.1-windows-x64.msi
  - url: https://corretto.aws/downloads/resources/21.0.0.35.1/amazon-corretto-21.0.0.35.1-windows-x64.msi
  - sha256: e5a5cd24e27956fda59022bed1f8f1fceaafedd82c071b1d6476af08c0565e7f
Release notes: https://github.com/corretto/corretto-21/blob/develop/CHANGELOG.md

Pin: `winget install --id Amazon.Corretto.21.JDK --version 21.0.0.35 --exact`

## macOS

### What the installer does
- Delivered as a macOS installer package (.pkg) for Intel (x64) and Apple silicon (ARM64).
- Runs the installer package `amazon-corretto-21.0.13.1.2-macosx-aarch64.pkg`; package installers usually ask for an administrator password and can place files anywhere on the system.
- On uninstall, Homebrew forgets installer package receipts.

### Mac requirements
- **CPU architecture:** Intel (x64), Apple silicon (ARM64)

### Versions (newest first) — Homebrew lists only the current release

#### 21.0.13.1.2

- x64 pkg: amazon-corretto-21.0.13.1.2-macosx-x64.pkg
  - url: https://corretto.aws/downloads/resources/21.0.13.1.2/amazon-corretto-21.0.13.1.2-macosx-x64.pkg
  - sha256: 9da41fc16749791b0b122da9566b56fa7a58b3835bf5be1ec3a0b44363e1ffe7
- arm64 pkg: amazon-corretto-21.0.13.1.2-macosx-aarch64.pkg
  - url: https://corretto.aws/downloads/resources/21.0.13.1.2/amazon-corretto-21.0.13.1.2-macosx-aarch64.pkg
  - sha256: 59a76664d3de70042f4ac37d28a53eb2e3cf7aecc085a8e89ef1955c1e36cdee

Install: `brew install --cask corretto@21`
