How do I add execution environment 1.8 to Eclipse Luna?

后端 未结 3 1044
一向
一向 2020-12-11 03:13

I have jre8 installed and set as the default for the jre but under compiler compliance I can\'t find 1.8 and under execution environment I can\'t find javaSE 1.8. I\'m using

3条回答
  •  无人及你
    2020-12-11 03:42

    Older versions of Eclipse might not work with javaSE-1.8

    You need to find out what version of Eclipse you have by going into its help menu and clicking on About Eclipse.

    If your version is older than the one at https://www.eclipse.org/downloads/ then you need to uninstall your older version and install the latest version.

    I had the same problem with my Eclipse on Linux Mint. And the only way I could solve it was by following above instructions.

提交回复
热议问题