How to use Java version 15 in Eclipse 2020-09

前端 未结 2 638
天命终不由人
天命终不由人 2021-01-11 23:27

I\'m trying to run the new Java 15 features under Eclipse 2020-09.

I have installed OpenJDK 15 and set it under "Installed JRE":

Nevertheless

相关标签:
2条回答
  • 2021-01-11 23:39

    Eclipse needs a dedicated plugin to support Java 15.

    This marketplace solution provides Java 15 support for Eclipse 2020-09 (4.17)

    0 讨论(0)
  • 2021-01-11 23:58

    While trying to install the Java 15 Support for Eclipse 2020-09 (4.17) plugin, I faced the same issue as reported by many folks; that is, the drag-and-drop feature did not work for me. I tried finding this plugin in the Eclipse Marketplace from within Eclipse but it did not appear in the search result. Ultimately, I switched to STS and it worked like a charm. With it, there is no need to install any plugin for Java 15. I was able to import all existing projects (from the old version of eclipse) into it and I can write, compile, run and debug Java 15 code in it without any issue.

    This is the version I have installed in my system.

    0 讨论(0)
提交回复
热议问题