JDK 7u181 now available

Change effective on 02 June 2018

Heroku’s support for Java now includes OpenJDK 7u181. 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_181

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