I had the same error and had a look here: https://docs.aws.amazon.com/corretto/latest/corretto-17-ug/generic-linux-install.html

You need to run the following before installing:

 sudo rpm --import https://yum.corretto.aws/corretto.key 
 sudo curl -L -o /etc/yum.repos.d/corretto.repo https://yum.corretto.aws/corretto.repo
Answer from Tobsi on Stack Overflow
🌐
AWS
docs.aws.amazon.com › corretto › corretto 11 user guide › amazon corretto 11 guide for linux › amazon corretto 11 installation instructions for amazon linux 2 and amazon linux 2023
Amazon Corretto 11 Installation Instructions for Amazon Linux 2 and Amazon Linux 2023 - Amazon Corretto 11
There is also a 'devel' package which contains the JDK development tools, as well as a 'jmods' package that contains the Amazon Corretto 11 JMods used to create custom runtime images. Option 1: Install the headless Amazon Corretto 11: ... While it is recommended to use /usr/lib/jvm/java-11-am...
Discussions

yum - how to install amazon Corretto 17 on centos - Stack Overflow
I need to install jdk 17 on centos7. When I try the yum install, I get the below message sudo yum install -y java-17-amazon-corretto-devel Loaded plugins: fastestmirror Loading mirror speeds from ... More on stackoverflow.com
🌐 stackoverflow.com
[Package Request] - AWS Corretto 21
Hey dear people from AL20223. While it would be perfectly possible, to install it from yum.corretto.aws, we'd like to avoid to install different versions of Corretto from different packagers/ma... More on github.com
🌐 github.com
2
September 14, 2023
amazon web services - How to install java 19 corretto on aws ec2 instance? - Stack Overflow
I tried to install java corretto 19 via yum, but it seems that the latest version available is 17. yum list | grep corretto java-17-amazon-corretto.x86_64 1:17.0... More on stackoverflow.com
🌐 stackoverflow.com
`java-21-amazon-corretto-headless` version 21.0.5.11.1 not available via dnf
Describe the bug Version 21.0.5.11.1 of Java 21 is not available via dnf. See https://github.com/corretto/corretto-21/releases/tag/21.0.5.11.1 To Reproduce Steps to reproduce the behavior: Run dnf --showduplicates list java-21-amazon-cor... More on github.com
🌐 github.com
3
November 29, 2024
🌐
AWS
docs.aws.amazon.com › corretto › corretto 11 user guide › downloads for amazon corretto 11
Downloads for Amazon Corretto 11 - Amazon Corretto 11
This topic lists all the downloads available for Amazon Corretto 11. You can choose Permanent URLs pointing to the latest version, or use Version Specific URLs which point to a specific version. Permanent URLs always point to the most recent release of a package.
🌐
GitHub
github.com › corretto › corretto-11 › releases
Releases · corretto/corretto-11
java-11-amazon-corretto-devel-11.0.31.11-1.x86_64.rpm · b27aa45607a363ed1879e68bfac2ddf5 / 951fb71a90bd523cf45d66fc8a165e10893fcb704b88c5d3c54be62f7cbb0e3b · Linux x64 · JDK · amazon-corretto-11.0.31.11.1-linux-x64.tar.gz · c7345e507945d5962125610745915dd3 / 70f6ff3668f27d1052f9e26c7a00d601774a556a49e6e9e7faa9d510ae1d0dbe ·
Author   corretto
🌐
Amazon Web Services
aws.amazon.com › developer tools › amazon corretto › faqs
Amazon Corretto FAQs
2 weeks ago - Frequently asked questions about Amazon Corretto a no-cost, multiplatform, production-ready distribution of the Open Java Development Kit (OpenJDK). Corretto comes with no-cost long-term support. Amazon runs Corretto internally on thousands of production services and Corretto is certified as ...
Find elsewhere
🌐
Docker Hub
hub.docker.com › _ › amazoncorretto
amazoncorretto - Official Image | Docker Hub
Corretto 11, corresponding to OpenJDK 11, will be available during the first half of 2019. Amazon will support Corretto 11 with quarterly updates until at least August 2024. Corretto is designed as a drop-in replacement for all Java SE distributions unless you are using features (e.g., Java ...
🌐
Corretto
downloads.corretto.aws
Amazon Corretto Downloads
You need to enable JavaScript to run this app
🌐
AWS
docs.aws.amazon.com › corretto › corretto 17 user guide › amazon corretto 17 guide for linux › amazon corretto 17 installation instructions for amazon linux 2 and amazon linux 2023
Amazon Corretto 17 Installation Instructions for Amazon Linux 2 and Amazon Linux 2023 - Amazon Corretto 17
There is also a 'devel' package which contains the JDK development tools, as well as a 'jmods' package that contains the Amazon Corretto 17 JMods used to create custom runtime images. Option 1: Install the headless Amazon Corretto 17: ... While it is recommended to use /usr/lib/jvm/java-17-am...
🌐
Pkgs.org
pkgs.org › download › java-11-amazon-corretto-devel(x86-64)
Java-11-amazon-corretto-devel(x86-64) Download (RPM)
Search and download Linux packages for Adélie, AlmaLinux, Alpine, ALT Linux, Arch Linux, CentOS, Debian, Fedora, KaOS, Mageia, Mint, OpenMandriva, openSUSE, OpenWrt, RHEL, Rocky Linux, Slackware, Solus, Ubuntu and Void Linux distributions
🌐
Amazon Web Services
aws.amazon.com › products › developer tools › amazon corretto
Production-ready distribution of OpenJDK – Amazon Corretto
2 weeks ago - Amazon Corretto is a no-cost, multiplatform, production-ready distribution of the Open Java Development Kit (OpenJDK). Corretto comes with no-cost long-term support. Amazon runs Corretto internally on thousands of production services and Corretto is certified as compatible with the Java SE standard.
🌐
GitHub
github.com › amazonlinux › amazon-linux-2023 › issues › 449
[Package Request] - AWS Corretto 21 · Issue #449 · amazonlinux/amazon-linux-2023
September 14, 2023 - ❯ docker run amazonlinux:2023 dnf search corretto-devel -q 2>/dev/null ========================= Name Matched: corretto-devel ========================= java-1.8.0-amazon-corretto-devel.x86_64 : Amazon Corretto development environment java-11-amazon-corretto-devel.x86_64 : Amazon Corretto 11 development tools java-17-amazon-corretto-devel.x86_64 : Amazon Corretto 17 development tools
Author   amazonlinux
🌐
AWS
docs.aws.amazon.com › corretto › corretto 11 user guide › amazon corretto 11 guide on windows › amazon corretto 11 installation instructions for windows 10 or later
Amazon Corretto 11 Installation Instructions for Windows 10 or Later - Amazon Corretto 11
You have the option of setting a custom installation path. By default, Amazon Corretto 11 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_HOME and PATH environment variables.
🌐
GitHub
github.com › corretto › corretto-11 › blob › develop › installers › linux › al2 › spec › java-11-amazon-corretto-modular.spec.template
corretto-11/installers/linux/al2/spec/java-11-amazon-corretto-modular.spec.template at develop · corretto/corretto-11
Amazon Corretto's packaging of the OpenJDK ${java_spec_version} debug symbols. ... --with-vendor-version-string="Corretto%{?experimental_feature:-%{experimental_feature}}-%{java_version}.%{build_id}.%{release_id}" \\ ... --slave %{_mandir}/man1/rmiregistry.1 rmiregistry.1 %{java_home}/man/man1/rmiregistry.1 \\ --slave %{_mandir}/man1/unpack200.1 unpack200.1 %{java_home}/man/man1/unpack200.1
Author   corretto
🌐
Stack Overflow
stackoverflow.com › questions › 77823876 › how-to-install-java-19-corretto-on-aws-ec2-instance
amazon web services - How to install java 19 corretto on aws ec2 instance? - Stack Overflow
First of all, corretto 19 is already out of support. Java "LTS" (long term support) versions are currently 8, 11, 17, and recently 21. Anything else will come and go in 6 months. I would not build anything Java based on anything that is not ...
🌐
GitHub
github.com › amazonlinux › amazon-linux-2023 › issues › 851
`java-21-amazon-corretto-headless` version 21.0.5.11.1 not available via dnf · Issue #851 · amazonlinux/amazon-linux-2023
November 29, 2024 - bash-5.2# dnf --showduplicates list java-21-amazon-corretto-headless Last metadata expiration check: 0:03:12 ago on Fri 29 Nov 2024 08:23:47 AM UTC. Available Packages java-21-amazon-corretto-headless.x86_64 1:21.0.0+35-1.amzn2023.1 amazonlinux java-21-amazon-corretto-headless.x86_64 1:21.0.1+12-1.amzn2023.1 amazonlinux java-21-amazon-corretto-headless.x86_64 1:21.0.1+12-1.amzn2023.2 amazonlinux java-21-amazon-corretto-headless.x86_64 1:21.0.2+13-1.amzn2023.1 amazonlinux java-21-amazon-corretto-headless.x86_64 1:21.0.2+14-1.amzn2023.1 amazonlinux java-21-amazon-corretto-headless.x86_64 1:21.0.3+9-1.amzn2023.1 amazonlinux java-21-amazon-corretto-headless.x86_64 1:21.0.4+7-1.amzn2023.1 amazonlinux
Author   amazonlinux
🌐
GitHub
github.com › corretto › corretto-11 › issues › 225
Installing from package manager should update java and javac · Issue #225 · corretto/corretto-11
December 13, 2021 - I'd expect it to call update-alternatives for java and javac, so that after running the above commands, java -version will print out the version string for Corretto 11. This is using the ubuntu-2004:202010-01 image in CircleCI, which defaults to OpenJDK 8. ... The following NEW packages will be installed: java-11-amazon-corretto-jdk 0 upgraded, 1 newly installed, 0 to remove and 330 not upgraded.
Author   corretto