switch to java 7