The Next Generation Platform is Coming - Get Ready Now!
GitHub Readme.md
This is the official Heroku buildpack for OpenJDK. It only installs the JDK, and does not build an application. It is used by the Java, Scala, and Clojure buildpacks.
This is how the buildpack is used from another buildpack:
JVM_BUILDPACK_URL="https://buildpack-registry.s3.us-east-1.amazonaws.com/buildpacks/heroku/jvm.tgz"
mkdir -p /tmp/jvm-common
curl --silent --fail --retry 3 --retry-connrefused --connect-timeout 5 --location $JVM_BUILDPACK_URL | tar xzm -C /tmp/jvm-common --strip-components=1
source /tmp/jvm-common/bin/util
source /tmp/jvm-common/bin/java
install_java_with_overlay ${BUILD_DIR}
You may install the JVM buildpack into your app by running:
$ heroku buildpacks:set heroku/jvm
If you want to use the edge version (the code in this repo), run this instead:
$ heroku buildpacks:set https://github.com/heroku/heroku-buildpack-jvm-common.git
Then it may be used by itself, or with another buildpack using multiple buildpacks.
Licensed under the MIT License. See LICENSE file.
Copy the snippet above into CLI.
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.