Re: Main-Class for Java Modular Project

2018-09-26 Thread Peter Hull
On Wed, 26 Sep 2018 at 13:01 Geertjan Wielenga wrote: > If you can provide step by step instructions with as much details as > possible, this is where you file your issue: > https://issues.apache.org/jira/projects/NETBEANS > > Will do.

Re: Main-Class for Java Modular Project

2018-09-26 Thread Geertjan Wielenga
If you can provide step by step instructions with as much details as possible, this is where you file your issue: https://issues.apache.org/jira/projects/NETBEANS Gj On Wed, Sep 26, 2018 at 1:56 PM, Peter Hull wrote: > Thanks as always Geertjan! > > It seems that, if you export a package, NB wo

Re: Main-Class for Java Modular Project

2018-09-26 Thread Peter Hull
Thanks as always Geertjan! It seems that, if you export a package, NB won't find any main classes in it. For example if I change the module-info.java in the com.toy.anagrams module in your examples to: module com.toy.anagrams { requires java.base; requires java.desktop; requires java.l

Re: Main-Class for Java Modular Project

2018-09-26 Thread Geertjan Wielenga
Also, see these complete examples: https://github.com/GeertjanWielenga/JigsawJavaModularProjectSamples Gj On Wed, Sep 26, 2018 at 1:34 PM, Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: > https://www.youtube.com/watch?v=jSqqLHCP9ms > > Gj > > On Wed, Sep 26, 2018 at 1:32 PM, Peter

Re: Main-Class for Java Modular Project

2018-09-26 Thread Geertjan Wielenga
https://www.youtube.com/watch?v=jSqqLHCP9ms Gj On Wed, Sep 26, 2018 at 1:32 PM, Peter Hull wrote: > I created a new Java modular project (NB 9.0, openjdk 11) but I was > unable to run it because no main class was specified, and it couldn't > find any for me to choose from, in Browse Main Classe

Main-Class for Java Modular Project

2018-09-26 Thread Peter Hull
I created a new Java modular project (NB 9.0, openjdk 11) but I was unable to run it because no main class was specified, and it couldn't find any for me to choose from, in Browse Main Classes it said . I set the main.class property in nbproject/project.properties and now NB can run my main class (