Updating to java 8