change compiler to java7