- Le plus récent
- Le plus de votes
- La plupart des commentaires
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
Contenus pertinents
- demandé il y a un an
- demandé il y a 9 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 10 mois
- Comment configurer un proxy HTTP pour Docker et l'agent de conteneur Amazon ECS for Amazon Linux 2 ?AWS OFFICIELA mis à jour il y a 4 ans