Updated java 6 to be java 7