Re: Maven NB module cannot be run using Open JDK 11

2021-07-01 Thread manikantannaren
The steps were to show how to reproduce the problem. The project in which I faced the issue originally has an Option Panel which I was trying to test. I also wanted to demonstrate that the issue exists without any changes made to the POM file or project structure. *Cheers* Mani/Naren/Iyer *The tr

Re: Maven NB module cannot be run using Open JDK 11

2021-07-01 Thread Geertjan Wielenga
So you have an empty NetBeans module without any code in it that you want to run? Why? Gj On Fri, 2 Jul 2021 at 06:36, wrote: > James, > Yes, the versions are as specified by you. Still I am seeing the same > error. > To iterate, I am not seeing this issue with a common maven project; only > wi

Re: Maven NB module cannot be run using Open JDK 11

2021-07-01 Thread manikantannaren
James, Yes, the versions are as specified by you. Still I am seeing the same error. To iterate, I am not seeing this issue with a common maven project; only with Maven NetBeans module project *Cheers* Mani/Naren/Iyer *The trick of walking on water is knowing where the stones are.* On Thu, Jul 1,

Re: Maven NB module cannot be run using Open JDK 11

2021-07-01 Thread James Ostrowick
Hi, I had a similar problem, check that your maven pom.xml file has at least these versions : org.apache.maven.plugins maven-compiler-plugin 3.8.1 And : org.apache.maven.plugins maven-dependency-plugin

Re: Maven NB module cannot be run using Open JDK 11

2021-07-01 Thread manikantannaren
The error is still around with the update version of the maven plugin as advised by Eric Barboni Steps to reproduce 1. Start NetBeans 12.3 with Java 11, a clean user and cache dir 2. Create a new NetBeans module using maven (Java with Maven | NetBeans module) 3. Run primer build on project (clean

RE: Maven NB module cannot be run using Open JDK 11

2021-07-01 Thread Eric Barboni
Hi, according to your log it seems the nbm-maven-plugin you use is old. You must update to the following plugin org.apache.netbeans.utilities nbm-maven-plugin 4.6 And after updating we may try to investigate. Best Regards Eric De : Geertjan Wielenga Envoyé : jeudi 1 juille

Re: Maven NB module cannot be run using Open JDK 11

2021-07-01 Thread Geertjan Wielenga
If you provide steps to reproduce the issue, someone can help you. Gj On Thu, 1 Jul 2021 at 11:54, wrote: > Yes, jdk.jshell is listed and I can start jshell on the command line > without any issues > > > *Cheers* > Mani/Naren/Iyer > *The trick of walking on water is knowing where the stones are

Re: Maven NB module cannot be run using Open JDK 11

2021-07-01 Thread manikantannaren
Yes, jdk.jshell is listed and I can start jshell on the command line without any issues *Cheers* Mani/Naren/Iyer *The trick of walking on water is knowing where the stones are.* On Thu, Jul 1, 2021 at 2:57 PM Charles Johnson wrote: > On 01/07/2021 10:00, manikantanna...@gmail.com wrote: > > I

Re: Maven NB module cannot be run using Open JDK 11

2021-07-01 Thread Charles Johnson
On 01/07/2021 10:00, manikantanna...@gmail.com wrote: I have a simple maven NB module; ON trying to run the module, I get the following error Might be worth executing the following as a sanity check (making sure it's with your JDK 11's java) java --list-modules | grep jdk\.jshell

Maven NB module cannot be run using Open JDK 11

2021-07-01 Thread manikantannaren
I have a simple maven NB module; ON trying to run the module, I get the following error Error occurred during initialization of boot layer java.lang.module.FindException: Module jdk.jshell not found (Full log attached - nb-mvn-error.txt) I cannot launch JShell from Tools | OPen Java Platform sheel