Mac elipse has an error when I write a Java code : My photo is in this link:

[Everytime I write a Java code on mac, it says it can't run the codes. (My current java version is 1.8.0_111 whereas eclipse's jre version is 1.8.0_66. I'm not sure if it matters.) Previously, Eclipse worked pretty well, but it suddenly doesn't work.  ][1]


  [1]: https://i.stack.imgur.com/BRGNG.png