adding java 7 support for herokue