added support for java 7 for heroku