addeding jdk 7 support for heroku