Skip to content

jkutner/adoptopenjdk-buildpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AdoptOpenJDK Buildpack

This buildpack will install the AdoptOpenJDK runtimes.

Usage

This buildpack can be used with the Heroku Java buildpack to replace the default JDK by running:

$ heroku buildpacks:set jdk/adopt
$ heroku buildpacks:add heroku/java

Customizing

You can customize the version of AdoptOpenJDK by setting the following config vars:

  • ADOPTOPENJDK_VERSION (default: 8)
  • ADOPTOPENJDK_IMPL (default: hotspot)
  • ADOPTOPENJDK_RELEASE (default: latest)
  • ADOPTOPENJDK_CHECKSUM (no default)

Alternatively, you can codify these in your app by creating a system.properties file with contents like this:

adoptopenjdk.version=8
adoptopenjdk.impl=hotspot
adoptopenjdk.release=latest

For more information on acceptable values, see the AdoptOpenJDK API docs.

License

MIT

About

Heroku Buildpack for AdoptOpenJDK binaries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages