I\'m trying to run this practice script from the standard Oracle Java tutorials.
This seems to be a common error and I\'ve used SO resources to make attempts to fix
Lambda Expressions are newly added into Java 8. They are not available for JRE7. Try to upgrade your eclipse project's JRE to 8 (window -> preferences->java->compiler).