Use Corretto 11 on Heroku

buildpack settings

$ heroku buildpacks:set jdk/corretto -a [App name]
$ heroku buildpacks:add heroku/java -a [App name]

Add environment variables

-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]

reference

Recommended Posts

Use Corretto 11 on Heroku
Use PG Backups on Heroku
Install Corretto 8 on Windows
Use perltidy on CentOS 8
Introducing Bugsnag on Heroku
Use mod_auth_cas on CentOS 8
Yay! I'm on Heroku!
Use bat on Centos.
Use mkdir on ubuntu
Use cpplapack on ubuntu
Error resolution on Heroku
Introduce Rails/Basic authentication on Heroku.
Use serial communication on Android
Use Swift Package on Playground
Use devise on multiple models
Use native code on Android
Use Docker Compose on Windows 10 Home
How to use Ruby on Rails
Deploy a war file on Heroku
Deploy Flask's Docker image on Heroku
Use Docker on your M1 Mac
Preparing to use electron-react-boilerplate on Ubuntu 20.4
Use the iostat command on CentOS 8
Use completion in Eclipse on mac
DB error on deploying with Heroku
Deploy Rails on Docker to heroku
Use Docker CE (official) on CentOS 8
Deploy your Rails app on Heroku
A memorandum on how to use Eclipse
How to redo a deployment on Heroku
Introducing Basic Authentication on Heroku [Spring Framework]
How to use Apache Derby on Eclipse
[Ruby on Rails] How to use CarrierWave
I want to display background-ground-image on heroku.
Use docker in proxy environment on ubuntu 20.04.1
How to publish an application on Heroku
Error when trying to use heroku command
[Rails] Use validation on a specific controller
Deploy to Heroku [Ruby on Rails] Beginner
Let's run Servlet on Amazon Corretto now
Enable natto / mecab gem on Heroku environment
Use cljstyle with Spacemacs on Ubuntu on WSL2
Deploy a Java web app on Heroku
[Ruby on Rails] How to use redirect_to
Deploy a Tomcat-based Eclipse project on Heroku