Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

aws Unknown runtime version named 'openjdk8' of java. This build image has the following versions: corretto11, corretto8

I am trying to deploy my java application to aws EBS using codecommit

but I am faced with this error

YAML_FILE_ERROR Message: Unknown runtime version named 'openjdk8' of java. This build image has the following versions: corretto11, corretto8

I am using ubuntu with codebuild standard:4.0

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

my runtime version in my buildspec is openjdk8

>Solution :

I don’t see OpenJDK listed as a supported runtime for Elastic Beanstalk here. You need to change your settings to specify corretto8.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading