Configure java version for heroku