[#1871] Play java version detection does not work on heroku