Increase required java version to java 7