Skip to content

AWS Corretto JDK 17

Amazon Web Services · Amazon Corretto 17 is a no-cost OpenJDK distribution for compiling and running Java applications on supported platforms.

CaskLanguages & Runtimes 254
Install command
brew install --cask corretto@17
30-day installs
927
#334 in App
1-year installs
8.8K
Last 365 days
Latest version
17.0.21.1.2
Download size
187MB
pkg
Release cadence
Monthly
1 release in 30 days

About

Amazon Corretto is Amazon's no-cost distribution of the Open Java Development Kit. This package provides the Corretto 17 JDK, including the Java runtime and development tools for compiling, testing and running applications that target Java 17.

Features

  • Run Java applications with an OpenJDK-based runtime.
  • Compile Java source with the included development tools.
  • Use the Java 17 release line for compatible application stacks.
  • Receive platform and security updates through Corretto releases.
  • Choose a distribution built for the target operating system and CPU.

Setup and compatibility

The official Corretto 17 installation guide covers macOS 11 or later. The publisher provides separate macOS aarch64 installers for Apple Silicon and x64 installers for Intel; choose the architecture matching your Mac. Administrator permissions are required for installation and removal. Download the appropriate installer, follow the system installation prompts and check your selected Java version and JAVA_HOME before building a project. Your application's memory and dependency requirements are separate from installing the JDK.

Corretto is available at no cost and is based on open-source OpenJDK. The official Corretto 17 LICENSE contains GNU GPL version 2 and the Classpath exception for files expressly designated with that exception; separate notices and component terms still apply. Official license. Check the included license notices and any separate dependency licenses when distributing applications. The JDK is a development runtime, so running a Java program gives that program access according to your operating-system account and permissions; only run trusted code. Installing it does not require sending your application's source code to a hosted AI or compilation service.

Sources: Official Corretto documentation, Official Corretto 17 changelog.

The workflow image is an official AWS 2019 example of Tomcat/JSP runtime properties after installing Corretto 8 on Linux ARM64. It illustrates a historical companion Java application workflow, not a graphical interface or compatibility claim for this Mac Corretto 17 package. Official Corretto workflow article. Official macOS installation guide: https://docs.aws.amazon.com/corretto/latest/corretto-17-ug/macos-install.html

For 17.0.21.0.10, the publisher changelog lists macOS 15.0 or later as the build target for both x86_64 and aarch64. The general installation guide covering macOS 11 or later is not a guarantee for every newer build; check the chosen installer and the publisher’s supported-platform guidance.

17.0.21.0.10 build targets

At a glance

Price
Free
Chip
Apple silicon · Intel
Auto-updates
No
Repository
Open source · GPL-2.0 · Updated 4 days ago★254
Developer
Amazon Web Services
Homebrew
Available; updated by Homebrew
Also known as
AWS Corretto JDK, corretto@17
Homepage
corretto.aws
Token
corretto@17

Checked

What’s new in 17.0.21.1.2

New · From GitHub Releases

For release notes see: CHANGELOG.md

Download Links

Platform Type Download Link Checksum (MD5) / Checksum (SHA256) Sig File
Linux x64 JDK java-17-amazon-corretto-jdk_17.0.21.1.2-1_amd64.deb 192bda158cf2d85ae9e8f0bb138f3f34 / ccd3546182a1f0833c3ed3b3f3d13dce373dfde114166f819e9a7131aab0e17a
Linux x64 JDK java-17-amazon-corretto-devel-17.0.21.1.2-1.x86_64.rpm fafed15f8cf5af5b4e97100414c24da7 / 1a495f904b5948145d59525f8ec6f37864c440e6a43fcf32ddf888af80da8b3e
Linux x64 JDK amazon-corretto-17.0.21.1.2-linux-x64.tar.gz c31a8191e0681b3f4d2d49c17a2b51e8 / d8a350b5988f58e6186ddc1db584af170e9d56862816d4a578e9570d85307e2c Download
Linux aarch64 JDK java-17-amazon-corretto-jdk_17.0.21.1.2-1_arm64.deb b18e8bb8f2f6c4a495708c20a1bf4098 / fffef347692a4b08f6c2a7fbdc2c2bf19d9f95773e5ae67b9d6aaab7bf2fe622
Linux aarch64 JDK java-17-amazon-corretto-devel-17.0.21.1.2-1.aarch64.rpm aa5534adda32c4cc9416b93f2df90f93 / c355873bd83a3bfba95a547c5c68786516b346409b350352e88ff42a36f688b8
Linux aarch64 JDK amazon-corretto-17.0.21.1.2-linux-aarch64.tar.gz 6be12f451868d30d2878006791bef56d / f58bea1d8fca5788081a438e46997af0fe62491ef29b6ba4d9258cbfe8eeb5bb Download
macOS x64 JDK amazon-corretto-17.0.21.1.2-macosx-x64.pkg 58b8751d648f708230329fd1e21ba384 / a7f0a0d8ce4248a8ba44747eb68d2167dd7172ffd093185f64db12b632fd84d6
macOS x64 JDK amazon-corretto-17.0.21.1.2-macosx-x64.tar.gz 5ee15b7015dd64351eb5eb60e61d3b01 / 015521f588ea39cb595a05b8b40ae7151ee6b68ea56813f3011924e2e21cfcb0 Download
macOS aarch64 JDK amazon-corretto-17.0.21.1.2-macosx-aarch64.pkg 500d01668237e2efb7ea93d295834dcc / 1efbae722a9252160db779fa1a6f3b6aa8cd8958dae33520099b85d5d81b16bb
macOS aarch64 JDK amazon-corretto-17.0.21.1.2-macosx-aarch64.tar.gz bc7b43d4fb0f6dd9d633ba3078929c35 / 111f743800958e4b013f46a53c7f86dd43a0815a0ca8407a52ed699d2d855b60 Download
Windows x64 JDK amazon-corretto-17.0.21.1.2-windows-x64.msi 944250c09c335b669d60c97e75b17d74 / c9dbb603e5b4dc3566e1988417755cdebe5a44069cd83f94933c2c3429ab1851
Windows x64 JDK amazon-corretto-17.0.21.1.2-windows-x64-jdk.zip eb969f9f3bf1acd61417c88fc2287b57 / 2c8f079d861a42574718085186dccd0a15376dd6922f6abd395b4be436d780c2 Download
Alpine Linux x64 JDK amazon-corretto-17.0.21.1.2-alpine-linux-x64.tar.gz 4433cc829a9941eb77010fc045d36def / fa46b3b71a1ae8d80c30787f242539a62c6db9a74c186fb15aef20db09a19dab Download
Alpine Linux aarch64 JDK amazon-corretto-17.0.21.1.2-alpine-linux-aarch64.tar.gz 5281a394398e1b450f3b42d9fbeb4841 / 65dde218b1a241c4d810155db006ba40c67ba6a35baca58b5727864047165823 Download

Amazon Linux

Platform Type Download Link Checksum (MD5) / Checksum (SHA256)
Amazon Linux 2023 x64 JDK java-17-amazon-corretto-devel-17.0.21.1.2-1.amzn2023.1.x86_64.rpm 9f1a4824a76459a5a13df1ad22cd2071 / a937f7aa66cc51606ad129cb7755f97a287ba14d71af7b98e1e5c64be1e2c4fb
Amazon Linux 2023 x64 JRE java-17-amazon-corretto-headless-17.0.21.1.2-1.amzn2023.1.x86_64.rpm 95a3f697cfd8aa65fdd558024173789c / 5cb9bd606eced6516c70a90fa2820626caffa5f27605827518969333adea0220
Amazon Linux 2023 x64 HEADFUL java-17-amazon-corretto-17.0.21.1.2-1.amzn2023.1.x86_64.rpm bc302b1557f2c5e28ffb977a0b61a311 / ddbcd6497347a56adb307241b60dd55ec19bb15c5796f353073b298ae46aee44
Amazon Linux 2023 x64 JMODS java-17-amazon-corretto-jmods-17.0.21.1.2-1.amzn2023.1.x86_64.rpm f2e64a5b76376f7ec785324556f7e035 / be1e360b27ffab1e6642ed139310b25d6c8db5e820b2eb8d09823344b2fe5ec4
Amazon Linux 2023 aarch64 JDK java-17-amazon-corretto-devel-17.0.21.1.2-1.amzn2023.1.aarch64.rpm 01b7db59bbd9e6736141d19e078ea72b / 22337b81e73ca22841b2e2e978133eaeb7780f027785b89547acf025b6b90d37
Amazon Linux 2023 aarch64 JRE java-17-amazon-corretto-headless-17.0.21.1.2-1.amzn2023.1.aarch64.rpm eb014fab098f8f137c855537cc930eff / 41193807ff71dae26c31fa7e624cc8c99a51a3758ae57b10d8ecb6e5046c50d8
Amazon Linux 2023 aarch64 HEADFUL java-17-amazon-corretto-17.0.21.1.2-1.amzn2023.1.aarch64.rpm e31557e80172d7aad2d0912a8a5719d8 / 561680648944ccd7ae1540ba2baa366fccba471857a9baf1c9af69765cfa7acb
Amazon Linux 2023 aarch64 JMODS java-17-amazon-corretto-jmods-17.0.21.1.2-1.amzn2023.1.aarch64.rpm dbcecf5b34951ea8b1d0c427f4f9125e / 4348ce539e849212cb42a9a744a1c963b7572691afe1c6f5014f88491a7b57dc
Amazon Linux 2 x64 JDK java-17-amazon-corretto-devel-17.0.21.1.2-1.amzn2.1.x86_64.rpm 3f8d109e41571a0601f00e8353825afd / 9780af5fb701ec7869a81e9d3e242668717e45e458dd4d36e0fd6b59bb9203f5
Amazon Linux 2 x64 JRE java-17-amazon-corretto-headless-17.0.21.1.2-1.amzn2.1.x86_64.rpm a92565f41e1f55fc551be72f005c4599 / 776cf2ac079327f5e10b356fc4eab2dcc89f81bd970e1277a8a3dc3a7a7ae218
Amazon Linux 2 x64 HEADFUL java-17-amazon-corretto-17.0.21.1.2-1.amzn2.1.x86_64.rpm 267a334f53a2ce174968b22df93eba03 / 38f0c96f46905ab3025efd1ef35ef0b2d87480f8c3cc8a231787c59aad1cadc7
Amazon Linux 2 x64 JMODS java-17-amazon-corretto-jmods-17.0.21.1.2-1.amzn2.1.x86_64.rpm 8565f8f9d786ce841e4e6e832ec401d9 / a94257feeb6bd9a2a8dbdf69bbc777175fceff4004c0ac6be459b61b1a62c1e0
Amazon Linux 2 aarch64 JDK java-17-amazon-corretto-devel-17.0.21.1.2-1.amzn2.1.aarch64.rpm 281f32d260e12355b52285fd2fd6d624 / 33e3454eec6e718a57178ff31c31f5c2b3d7bacb5cbc83e76567a14e7e26b398
Amazon Linux 2 aarch64 JRE java-17-amazon-corretto-headless-17.0.21.1.2-1.amzn2.1.aarch64.rpm 449a8ac9a6b5e0dbe364a38892ff853e / dd2970809a6fd0d819702d74273aa14d852680c065024e6a48e26a6a6f27b442
Amazon Linux 2 aarch64 HEADFUL java-17-amazon-corretto-17.0.21.1.2-1.amzn2.1.aarch64.rpm d9df77237ab656a3df61add106c5dfbe / ad2fb3d3b95ed8b6ecde23df052dad1e35bb3785cd2b826d4294f72d08b2e4c5
Amazon Linux 2 aarch64 JMODS java-17-amazon-corretto-jmods-17.0.21.1.2-1.amzn2.1.aarch64.rpm 1c69f8be0fb76c8205f06ca57dc70c9c / f24b8d31cd2ecbff2c408ac5d206b7df0d83cc4f8b3d356aa9716247347c8b72
Amazon Linux 2027 x64 JDK java-17-amazon-corretto-devel-17.0.21.1.2-1.amzn2027.1.x86_64.rpm 22f6a2f9a45d9d5edbc313d025c7a06a / eefff59d51d979aad6561e87f36cf7fc66c37a875813301fb0606f2e134f3afd
Amazon Linux 2027 x64 JRE java-17-amazon-corretto-headless-17.0.21.1.2-1.amzn2027.1.x86_64.rpm 6e76bd25790bd747099dc8d5cc551bed / 503070931ca671b791e9f6904a440702c3725f8833968c975f167149e4426e75
Amazon Linux 2027 x64 HEADFUL java-17-amazon-corretto-17.0.21.1.2-1.amzn2027.1.x86_64.rpm 95e114bbcb7a66acf69f386d3d55b12c / a2c115f85b84275d9c7bb4bd42ad5015489c84b1e862945f4a32a430ce5b7509
Amazon Linux 2027 x64 JMODS java-17-amazon-corretto-jmods-17.0.21.1.2-1.amzn2027.1.x86_64.rpm d9ce6e697648da015eacbea305ef8e40 / 0adc9b1928a70bff6bc28412bb7d24f2f5e31d0143f2e15b83e252b549672065
Amazon Linux 2027 aarch64 JDK java-17-amazon-corretto-devel-17.0.21.1.2-1.amzn2027.1.aarch64.rpm d83ebaf9f7994ca2fa3710fe0bcc0e65 / 2d96b1e01d2a1650dc1a4a747db650b1468c1bba7f48185712e8a014c9e03763
Amazon Linux 2027 aarch64 JRE java-17-amazon-corretto-headless-17.0.21.1.2-1.amzn2027.1.aarch64.rpm af291af4998fd3975a332351c0771666 / 85f9d1c98b3d1a720170ff5a7aeb8fa58bfd03153c84f76b6379e378aaafc7fa
Amazon Linux 2027 aarch64 HEADFUL java-17-amazon-corretto-17.0.21.1.2-1.amzn2027.1.aarch64.rpm e854a394c041b3e2911475b86383a467 / e84ca6c106e299da17cc60c78222e92f162893aafed22f18a65c7f77964af933
Amazon Linux 2027 aarch64 JMODS java-17-amazon-corretto-jmods-17.0.21.1.2-1.amzn2027.1.aarch64.rpm eeb252475c1e798adec2d2d96911b91f / 15cb425409d59b5452e8b2d86291ad19f210e1818837e312fe87197b159dedb8

Debug Symbols

Platform Download Link Checksum (MD5) / Checksum (SHA256) Sig File
Linux x64 amazon-corretto-debugsymbols-17.0.21.1.2-linux-x64.tar.gz 6b79ce79568bd88641588504a1fa9720 / 7fe29c9f150bea82d30dd767fd8c5ff4219e0ccc479737f27603ccf978906e96 Download
Linux aarch64 amazon-corretto-debugsymbols-17.0.21.1.2-linux-aarch64.tar.gz 5d288687b7bfeec3116ee2c8f7b828cc / b6dcd676d7541086f484a9a697f49ebb872b205c61371bd361d5fd142117a5b7 Download
macOS x64 amazon-corretto-debugsymbols-17.0.21.1.2-macosx-x64.tar.gz 338c821643f395fcc7b75209c2aa413d / f5d221c680b3f23d8d8cdea02735fa735c6de8f104feeafa22a352e8e397eb22 Download
macOS aarch64 amazon-corretto-debugsymbols-17.0.21.1.2-macosx-aarch64.tar.gz 96660edb9b70215ce006b96f1c8e00e2 / 278591eb7b9044322fa3068abd76f5f76af65e6e5c2a89d283511352b1c6848b Download
Alpine Linux x64 amazon-corretto-debugsymbols-17.0.21.1.2-alpine-linux-x64.tar.gz 6949db4bc89bc87656939be67c821642 / 4bbf51992062892375b7c5705a181435f4fffe8bdf609e6fd310b069575cbcbc Download
Alpine Linux aarch64 amazon-corretto-debugsymbols-17.0.21.1.2-alpine-linux-aarch64.tar.gz 8f8c7297e44ed7f775ea043ae37d65c1 / 0c1c37b75424840294d3980583207fe055ea039947353d01fc73162a4b26b4dd Download
Amazon Linux 2023 x64 java-17-amazon-corretto-debugsymbols-17.0.21.1.2-1.amzn2023.1.x86_64.rpm 6118a0690f9ed89a8be6a59a4e2b3e6b / 4c8e4cfa1236230280d516302ba80614901c36969b899596b81e184c4bde558b
Amazon Linux 2023 aarch64 java-17-amazon-corretto-debugsymbols-17.0.21.1.2-1.amzn2023.1.aarch64.rpm 5b4e0a8d7d9100cf7346a260918d2416 / 1fd3afb0321fc35cc377213c7cdf5eefc04252617f0666c457d8d5a6f63c3ea0
Amazon Linux 2 x64 java-17-amazon-corretto-debugsymbols-17.0.21.1.2-1.amzn2.1.x86_64.rpm 41ee85893e4bcf1e77677b29997c0c2e / 0be7dbe1c7fb7879c0b8ac789911d7e8c4960e6514fb686e0744e2fc8a385464
Amazon Linux 2 aarch64 java-17-amazon-corretto-debugsymbols-17.0.21.1.2-1.amzn2.1.aarch64.rpm 457ede336440308274ff6d60ab3993ec / 0bad9a231360884df86c6839c62745a229d8e89f4497aefcb2bdbc82455e429a
Amazon Linux 2027 x64 java-17-amazon-corretto-debugsymbols-17.0.21.1.2-1.amzn2027.1.x86_64.rpm a6af0592defaba60de4dfb4d152b9c2b / b1de17f99e0db43a99e75ef3e8f8bc7224e4f3aec2437d38fbb0664db41ec181
Amazon Linux 2027 aarch64 java-17-amazon-corretto-debugsymbols-17.0.21.1.2-1.amzn2027.1.aarch64.rpm dc4127682a8d5e37762349d627162868 / 32667c24464a94fcfed4607ce94fa988a639e4e3a8aa2d979bf3e2148d30b00e

How to install AWS Corretto JDK 17 on Mac

Homebrew runs the amazon-corretto-17.0.21.1.2-macosx-aarch64.pkg installer, which asks for an administrator password.

Install without Homebrew

Download the file Homebrew uses for your chip: Install Details

Uninstall AWS Corretto JDK 17 and optional data cleanup

Uninstall command
brew uninstall --cask corretto@17

A regular uninstall removes the app and keeps its settings and caches.

Questions about AWS Corretto JDK 17

Is AWS Corretto JDK 17 safe?

AWS Corretto JDK 17 is in Homebrew’s official catalog and has not been disabled. Since September 2026, Homebrew disables apps that fail macOS Gatekeeper checks. When installing, Homebrew checks the download from corretto.aws against its SHA-256 checksum. It was installed 927 times through Homebrew in the last 30 days.

Is AWS Corretto JDK 17 free?

Yes, AWS Corretto JDK 17 is free to use. Source: aws.amazon.com/corretto, checked Oct 23, 2026.

Is AWS Corretto JDK 17 open source?

AWS Corretto JDK 17’s source code is public on GitHub (corretto/corretto-17) under the GPL-2.0 license.

How do I completely uninstall AWS Corretto JDK 17 on a Mac?

Run brew uninstall --cask corretto@17. It forgets 1 installer receipt.

Does AWS Corretto JDK 17 run on Apple silicon (M1 and later) Macs?

Yes. Homebrew downloads separate builds for Apple silicon and Intel Macs.

What is the latest version of AWS Corretto JDK 17?

The latest version is 17.0.21.1.2, added to Homebrew on Nov 17, 2026. Run brew upgrade --cask corretto@17 to update it.

What else does installing AWS Corretto JDK 17 add?

It installs through a .pkg installer, which asks for an administrator password.

Similar Apps

  • Amazon Corretto 25Amazon’s no-cost OpenJDK 25 distribution for compiling and running Java applications on macOS.
  • Azul Zulu JDK 21Azul’s OpenJDK Java 21 development kit for compiling and running Java applications on Intel and Apple Silicon Macs.
  • Oracle JDKOracle’s Java Standard Edition runtime and development kit for compiling, running, debugging and monitoring Java applications on macOS.
  • GCC ARM EmbeddedArm GNU command-line cross-toolchain for C/C++ bare-metal firmware, with arm-none-eabi compiler, binary utilities, libraries and debugger.
Browse all apps