Eclipse + Java 8 support?

前端 未结 7 1839
广开言路
广开言路 2020-11-29 06:04

How can I get Java 8 to work with Eclipse?

I have followed this guide but doesn\'t work. I\'ve also seen the Eclipse Java 8 wiki page, but they don\'t explain what

7条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-29 06:23

    It appears that this is still very much a work in progress (hence, there will be stability issues). Is there a particular reason you want to use Java 8?

    This explains what you should be doing:

    • Checkout the BETA_JAVA8 branch of the following git repositories: JDT/Core repository - git://git.eclipse.org/gitroot/jdt/eclipse.jdt.core.git
    • You need to install a JDK8 build as an installed JRE in order to run the tests using the JavaSE-1.8 Execution Environment.
    • For more information on how to work with git repositories, look at http://wiki.eclipse.org/Platform-releng/Git_Workflows .
    • As API Baseline, use 3.8 (or 3.8 RC4 until 3.8 is released).

    I have not downloaded this repo, but I would assume it contains the eclipse jdt core (as the name states). I would just wait until a stable release is finished.

提交回复
热议问题