- Prawy klik na projekcie, build path, ustawić JDK na jakieś które masz
u mnie nie moge tu nic zmienić, ale obok mam Java Compiler i tu widzę coś takiego, żeby zmienić wersję musze odznaczyć "use compilance from execution environment 'J2SE-1.5' on the 'Java Build Path'" i po zmianie na 1.8, pojawiają się 2 kolejne errory
Pierwszy:
"Facted Project Problem (Java Version Mismatch)(1item) - Java compiler level does not match the version of the installed Java project facet."
a drugi ten sam co był czyli:
Build path specifies execution environment J2SE-1.5. There are no JREs installed in the workspace that are strictly compatible with this environment.