- Newest
- Most votes
- Most comments
Hello,
We are working to make this package available for Amazon Linux 2. I'm afraid I do not have a date when this will be available. The plan at this point is to make the package available in the Amazon Linux extras repositories.
-Heath
Hello,
The java-11-openjdk package is now available in the Amazon Linux 2 extras repositories. To install the java-11-openjdk packages on an Amazon Linux 2 instance run:
sudo amazon-linux-extras install java-openjdk11
Thanks for your request.
-Heath
Any word on when this will be available on beanstalk? As of now I only see JDK 7 and 8 as options when creating new Java environments.
Hello, I run following and got error.
sudo amazon-linux-extras install java-openjdk11
Could not retrieve mirrorlist http://amazonlinux.ap-east-1.amazonaws.com/2/extras/java-openjdk11/latest/x86_64/mirror.list error was
14: HTTP Error 404 - Not Found
Thanks for the report. I can confirm that this is an issue we need to address. Apologies for the inconvenience that this may have caused. We are working to fix this issue. The java-11-openjdk repository should be available in ap-east-1 within the next few days. Thanks for using the Amazon Linux 2 AMI.
-Heath
Hello Heath,
I was able to install the java-openjdk11 from amazon-linux-extras. But how do I switch to OpenJDK11 on an Amazon Linux 2 instance?
sudo update-alternatives --config javac
doesn't list OpenJDK11 as an option. Please advise.
Saqib
Relevant content
- asked 6 years ago
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated a year ago