Changed project to java 6