switched to java7 minimum