Make sure all Eclipse Java compiler settings are set to 1.7