Adding "add-opens" command line args to a Maven project.

2025-03-04 Thread Will Hartung
i tried all sorts of stuff on the net and the AIs, but nothing seems to work. Simply ("simply"), I want to add an --add-opens option to my pom.xml so that when I Run my project, it does what it's supposed to. The various things I have tried, and lead to no success, either in Netbeans or with a mv

Re: Use different JDKs in one Project

2025-03-04 Thread Giles Winstanley
Hi Ulrich, I don't know if it would work in this context, but it seems reasonable to hope that Gradle's Java Toolchains (https://docs.gradle.org/current/userguide/toolchains.html) might help in this scenario. I've not tried using multiple toolchains within a single multi-project build, but gi

Re: Use different JDKs in one Project

2025-03-04 Thread Ulrich Mayring
Yes, that is exactly what I'm looking for. But I take it that Netbeans doesn't support that via the UI? So maybe I should define gradle tasks that run with "-Dorg.gradle.java.home=/JDK_PATH" or something like that? But it seems wrong to code filesystem paths into the buildfile, because those w

Re: Use different JDKs in one Project

2025-03-04 Thread Pieter van den Hombergh
maybe it is better to use different release labels/settings in the super or subproject. in that scenario, choose the highest acceptable version as the base version and 'downgrade' the release in the submodules that require it. met vriendelijke groet Pieter van den Hombergh Op di 4 mrt 2025, 12

Use different JDKs in one Project

2025-03-04 Thread Ulrich Mayring
Hi all, is it possible to tell Netbeans to use different JDK platforms in one project? I have a Gradle parent project and under Build/Gradle Execution I can only select one JDK and for all the subprojects this selection is greyed out. I'd like to: - run a subproject with a different JDK - r

Re: C/C++ Support

2025-03-04 Thread Ulf Zibis
Hi Art, yes, I can build, clean, run and debug my Project with the given commands. "Compile" is grayed out either here, regardless, what is put in the Editor->"Compile Commands" field. I guess, I could also use `make install` and `make clean` for "Build" and "Clean". For debugging, `gdb` must