Currently I am trying to use Java SE 1.8 as the build path JRE and the project facet. However I seem to be getting the error as shown below:
Now here is the error I get when I select Java 1.8 as the execution environment:
If I change the project facet and the execution environment to 1.7, I get bombarded with these errors as shown below: