Hi,
On 28.02.24 11:23, Francesco Chicchiriccò wrote:
Hi there,
I am using Netbeans since 6.0 and still enjoying it as main
development platform for Java: nice job!
I am experiencing an annoying behavior with Maven projects: even
though JDK 21 is correctly reported under project properties ->
sources -> source/binary format and also under build -> compile (as
set by Maven's pom.xml), Netbeans keeps showing JDK 11 under Java
dependencies.
I can reproduce this, switching JDKs doesn't update the tree under "Java
Dependencies". Reopening the project or restarting NB does fix it - so
this looks like a (UI only?) bug, however:
The unwanted consequence of this is that I can only browse JDK 11
sources when CTRL + clicking on my project's sources.
this I can't reproduce. It always navigated to the right JDK sources.
Building/running the project does also use the JDK selected in project
properties.
If you create a brand new maven project using the standard template,
does the same problem occur?
-mbien
I have both platforms correctly defined, including sources.
Netbeans itself runs on JDK 21.
What could be the issue? TIA
Regards.
---------------------------------------------------------------------
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