By using AWS re:Post, you agree to the Terms of Use

java-11-openjdk-devel for Amazon Linux 2

0

Does anyone when the java-11-openjdk-devel will be available in the Amazon Linux 2 yum repo?

asked 4 years ago908 views
6 Answers
0

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

answered 4 years ago
0

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

answered 3 years ago
0

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.

answered 3 years ago
0

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
answered 3 years ago
0

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

answered 3 years ago
0

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

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions