switch to java version 1.7