Corretto 17 for Elastic Beanstalk

0

Hello,

When will Corretto 17 be available for Elastic Beanstalk?

The list currently contains Corretto 8 and 11, but Java LTS version 17 is unavailable for now.

Will this change shortly?

greetings Eric

asked 10 months ago802 views
1 Answer
0

You can install and use Corretto 17 on your own using an ebextensions file. Inside your application bundle add a .ebextensions folder with a file name ending in .config" with this content:

packages:
  rpm:
    java17: https://corretto.aws/downloads/latest/amazon-corretto-17-x64-linux-jdk.rpm
  
container_commands:
  01_alternatives_set:
    command: sudo alternatives --set java /usr/lib/jvm/java-17-amazon-corretto.x86_64/bin/java
    
answered 10 months 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