NetBeans itself needs to run on JDK 14.

The javac from JDK 14 will be used for support for Records.

The nb-javac support has not yet been updated for JDK 14, which you would
need to install for JDK 14 support when not running NetBeans itself on JDK
14.

Gj

On Sat, Feb 1, 2020 at 4:18 PM Miguel Cardoso Martins <
miguelcardosomart...@gmail.com> wrote:

> Hello all.
>
> I setup a maven project and enabled the preview features but  Netbeans is
> not recognizing the record keyword (see attachment).
> It compiles and runs without errors though.
>
> Netbeans itself is running on JDK13
> Application is configured to run with JDK14 and has source/compile/run
> language level also set to 14.
>
> Thanks
> Miguel
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>

Reply via email to