make it compile...

JDK 1.7 is required so changed to 1.7. And make it compile...