JDK 12.0.2, 11.0.4, 8u222, and 7u232 now available

Change effective on 17 July 2019

Heroku’s support for Java, Scala, Clojure, and JRuby now includes the option of using JDK 12.0.2, 11.0.4, 8u222, and 7u232. To use one of these version, create a system.properties file in the root directory of your app with contents like:

java.runtime.version=11.0.4

For more information on these OpenJDK releases, please see the official OpenJDK documentation. For more information on supported versions and JDK vendors, please see the Dev Center guide to Java Support.