Re: Netbeans platform project compiling with JDK 17

2023-02-19 Thread Michael Bien
Hi Toni, there was a thread about this a few days ago on the dev list: https://lists.apache.org/thread/djoy8qmoy6y0tt8314olbp6jj2y72639 short version:  yes, you are going to need those flags. The IDE itself uses the following flags: https://github.com/apache/netbeans/tree/master/nbbuild/jms-c

Re: Netbeans platform project compiling with JDK 17

2023-02-19 Thread Toni Helenius
Ok, I think I solved it. At least locally I'm able to run our project now. Although the release version also probably needs these flags to somewhere (*.conf). But the local can be run by adding: \nbproject\project.properties run.args.extra=-J--add-opens=java.base/java.net=ALL-UNNAMED -J--add-