Thanks Neil. I wanted to test the beta 4 version before the issue of the final version but it seems I should have to study Maven deeper.
Just for information, everything, including Payara, seems to work well with JDK 11 (it was not the case before). Richard Le 19/07/2019 à 12:45, Neil C Smith a écrit : > On Fri, 19 Jul 2019 at 11:03, Richard Grin > <richard.g...@univ-cotedazur.fr> wrote: >> NetBeans is running with Java 10.0.1 (certainly the reason of >> "Defaults") but the entry "Java Dependencies" is under the project and I >> changed the version of Java for the project to Java 11. >> >> Perhaps a right click on the projects > Properties does not change >> anything when the project is built with Maven? > The property you're talking about is the JDK that is being used to run > Maven, etc. You can add additional ones under Tools / Java Platforms > in the main menu. The (default) refers to the JDK the IDE is running > on. > > The pom.xml content you quoted has nothing to do with what JDK you're > building on, but what compatibility you're building with. There > doesn't need to be a link, except the source and target (or release) > level needs to be supported by the chosen JDK. > > I've never tried setting a newer JDK there than NetBeans is running on > - not sure what implications there might be to do so? I do have a > number of different 8 and 11 platforms configured. > > Out of interest, why run the IDE on an out-of-support JDK anyway? > > Best wishes, > > Neil -- Cordialement, Richard Grin --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists