JDK 8u131 now available

Change effective on 19 April 2017

Heroku’s support for Java 8 has been upgraded to include OpenJDK 8u131. 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.8.0_131

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