I need to write Java 8 compatible code and therefore I need to install Java 8.
What I have done so far:
installed the latest version of Eclipse
tried to follow this -> upgrade eclipse to java 8 without a happy ending
The error I get as soon as I create the project:
Unbound classpath container: 'JRE System Library [JavaSE-1.8]' in project 'JackTest' Build Path Problem
Any idea? Can someone tell me what to do step by step?
解决方案
You can have many java versions in your system.
I think you should add the java 8 in yours JREs installed or edit.
Take a look my screen:
If you click in edit (check your java 8 path):