Java 11 now available

Change effective on 25 September 2018

Heroku’s support for Java, Scala, Clojure, and Gradle now includes support for OpenJDK version 11. To use this version of the JDK, create a system.properties file in your application with the following contents:

java.runtime.version=11

After your next deployment, Heroku will install and run your app with OpenJDK 11. For more information, see the article on Heroku Support for Java in the Dev Center. For more information on JDK 11, see the official OpenJDK documentation.