Does Apache NetBeans 9.0 support java 11?

前端 未结 2 846
清酒与你
清酒与你 2021-01-14 19:40

Can anyone say if Apache NetBeans 9.0 support java 11 and if so what are the requirements to make that work?

Prensently I can compile and run java 11 code in NetBean

相关标签:
2条回答
  • 2021-01-14 20:10

    No NetBeans 9 doesn’t support Java 11 (only 9 and 10) [1].

    NetBeans 10 which was planned to be released in November [2] will support Java 11 [3]. Unfortunately, it’s not available yet (at least as official release).

    The latest release candidate can be downloaded here

    https://dist.apache.org/repos/dist/dev/incubator/netbeans/incubating-netbeans/

    As NetBeans 10 latest vote candidate 5 is in the final release vote stage [4] we should expect a final release within the next days.

    0 讨论(0)
  • 2021-01-14 20:14

    NetBeans 10 has been released with JDK 11 support:

    JDK 11 Support

    JDK 11 support has been enhanced in the following ways:

    • Integration with the nb-javac project, adding support for JDK 11.

    • Removed the CORBA modules.

    • Support for JEP 309, Dynamic Class-File Constants.

    • Support for JEP 323, Local-Variable Syntax for Lambda Parameters.

    • Support for LVTI Support for Lamdba Parameters

    • New Hint to convert variable type to 'var' for lambda parameters(JDK 11 and above)

    • Code completion for var lambda parameters

    • Code completion support for var type lambda parameters.(JDK 11 and above)

    See the JDK 11 Confluence Page for more detailed features.

    Donwload page: https://netbeans.apache.org/download/nb100/nb100.html

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