adding java 7 heroku support