Home > database >  aws Unknown runtime version named 'openjdk8' of java. This build image has the following v
aws Unknown runtime version named 'openjdk8' of java. This build image has the following v

Time:08-26

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

my runtime version in my buildspec is openjdk8

CodePudding user response:

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

  • Related