JDK 7u151 now available

Change effective on 27 September 2017

Heroku’s support for Java now includes OpenJDK 7u151. This version is now the default Java 7 runtime on Heroku. 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_151

For more information on Heroku’s Java support, see the Dev Center documentation for Java. For more information on OpenJDK 7u151, see the OpenJDK documentation for Java 7.