chard Grin
Cc : NetBeans Mailing List
Objet : Re: Java 17 and NetBeans
Richard,
Typically the default that the maven compiler assumes is not the Java version
you run it on. You need to set the release to 17 in your case. Easiest is to do
that in a property in the pom file. The property is
Richard,
Typically the default that the maven compiler assumes is not the Java
version you run it on. You need to set the release to 17 in your case.
Easiest is to do that in a property in the pom file. The property is named
maven.compiler.release
On Fri, Oct 1, 2021, 14:07 Richard Grin
wrote: