Change effective on 17 April 2019
Heroku’s support for Java, Scala, Clojure, and JRuby now includes the option of using JDK 12.0.1, 11.0.3, 8u212, and 7u222. To use one of these version, create a
system.properties file in the root directory of your app with contents like:
For more information on supported versions and JDK vendors, please see the Dev Center guide to Java Support.