How do I add execution environment 1.8 to Eclipse Luna?

后端 未结 3 1039
一向
一向 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:28

    If the eclipse version is old as @mike stated in his answer then you would be unable to view the JavaSE-1.8 on the Execution Environments list in your eclipse; You can do the following to use it even on older versions:

    • Help --> Install New Software
    • Place the following URL --> http://download.eclipse.org/eclipse/updates/4.3-P-builds/
    • Install the plugins and restart eclipse.
    • Now if you have JDK 1.8 on your computer and added it as an installed JRE you'd be able to view and use JavaSE-1.8

    Or just download and use the latest eclipse

提交回复
热议问题