$ heroku buildpacks:set jdk/corretto -a [App name]
$ heroku buildpacks:add heroku/java -a [App name]
-Corretto 11 download location and checksum for jkutner / corretto-buildpack latest / corretto-11-ug / downloads-list.html) is specified by the environment variable --Corretto 8 defaults when no environment variable is specified
$ heroku config:set \
CORRETTO_URL=https://d3pxv6yz143wms.cloudfront.net/11.0.4.11.1/amazon-corretto-11.0.4.11.1-linux-x64.tar.gz \
CORRETTO_CHECKSUM=4bbcd5e6d721fef56e46b3bfa8631c1c \
-a [App name]
Recommended Posts