Updating the Java version and fixing eclipse errors.