OpenJDK 26 is now available for Java, Scala and Clojure apps

Change effective on 18 March 2026

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

java.runtime.version=26

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