https://youtu.be/HcmcOMZQ0TM
Created that especially for you and hope it helps you. Gj On Sat, Sep 21, 2019 at 11:59 AM Geertjan Wielenga <[email protected]> wrote: > You probably mean an empty project. And indeed, no main class can be found > because there's no source file at all. So create one and create a main > class within it. > > Gj > > On Sat, Sep 21, 2019 at 11:53 AM Geertjan Wielenga <[email protected]> > wrote: > >> What is “a project with a class but no source file”? >> >> Gj >> >> On Sat, 21 Sep 2019 at 11:50, Walter Oney <[email protected]> >> wrote: >> >>> With "Java with Maven" I get a project with a class but no source file. >>> Attempting to run gives the same apparent error pop-up that there's no main >>> class. >>> >>> Using "Java with Gradle" earns me a message that there's no valid Java >>> platform for key default_platform. >>> >>> -----Original Message----- >>> From: Geertjan Wielenga <[email protected]> >>> Sent: Saturday, September 21, 2019 5:45 AM >>> To: Walter Oney <[email protected]> >>> Cc: Carl Mosca <[email protected]>; Neil C Smith < >>> [email protected]>; NetBeans Mailing List <[email protected] >>> > >>> Subject: Re: FW: screenshot >>> >>> Now can you try to reproduce the same problem with the Java Application >>> (the first template, right at the top) in “Java with Maven”? >>> >>> Gj >>> >>> On Sat, 21 Sep 2019 at 11:40, Walter Oney <[email protected] >>> <mailto:[email protected]> > wrote: >>> >>> >>> I chose category "Java with Ant" and project "Java Application" >>> >>> -----Original Message----- >>> From: Walter Oney <[email protected] <mailto: >>> [email protected]> > >>> Sent: Saturday, September 21, 2019 5:22 AM >>> To: 'Geertjan Wielenga' <[email protected] <mailto: >>> [email protected]> > >>> Cc: 'Carl Mosca' <[email protected] <mailto: >>> [email protected]> >; 'Neil C Smith' <[email protected] <mailto: >>> [email protected]> >; 'NetBeans Mailing List' < >>> [email protected] <mailto:[email protected]> > >>> Subject: RE: FW: screenshot >>> >>> > No, I don’t. Are you using ‘Java with Maven’ or ‘Java with >>> Ant’? >>> >>> I must be missing something major. The screen shot plainly shows >>> that I'm using Apache NetBeans 11.1 with Ant. Normally, I would think that >>> I've done something wrong, because I learned sometime around 1965 that >>> computers and well-vetted tools rarely make mistakes. Since this isn't my >>> first rodeo, I tend to think that something about the automatic class >>> creation logic is mismatched with the build environment -- probably because >>> I installed the wrong version of something through ignorance. >>> >>> Hopefully, you'll accept a friendly suggestion about how to >>> provide tech support and/or volunteer help: it never hurts to assume that >>> you're dealing with an accurate report of a problem from someone who is >>> missing a crucial piece of information that experienced users possess. In >>> my salad days, I used to send academic users out of the assistance office >>> to lookup something in one of the dozens of IBM manuals that were >>> conveniently mounted in a rack next to the keypunches. I eventually learned >>> that what was transparent to me as a systems programmer was completely >>> opaque to real users. >>> >>> -- >>> Walter C. Oney, Jr., Esq. >>> 267 Pearl Hill Rd., Fitchburg, MA 01420 >>> Tel.: 978-343-3390 >>> http://www.oneylaw.com >>> >>> >>> >>> >>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> <mailto:[email protected]> >>> For additional commands, e-mail: [email protected] >>> <mailto:[email protected]> >>> >>> For further information about the NetBeans mailing lists, visit: >>> >>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists >>> >>> >>> >>> >>>
