update java to 1.7 to make JDK7 mandatory