JDK 7u161 now available

Change effective on 12 December 2017

Heroku’s support for Java, Scala, Clojure, Gradle, and JRuby now includes the option of using JDK 7u161. To set the JDK version for an application, create a system.properties file in the root directory of your project and put the following code in it:

java.runtime.version=1.7.0_161

For a complete list of supported versions, see the Dev Center documentation for Java. For more information on OpenJDK 7u161, see the OpenJDK documentation for Java 7.