Change effective on 06 March 2018
Heroku’s support for Java, Scala, Clojure, and JRuby applications now includes early access to JDK 10. You can configure an app to use this version by creating a
system.properties file in the root directory of the repo with these contents:
For more information on JDK 10, see the official OpenJDK documentation.