Re: No main classes found

2021-06-29 Thread Som Lima
> > > > Hi, > > I am working on Netbeans 12.4. > > > > I have created the project FibSeries2. When I am trying to run it by > selecting the project name from the left pane and right clicking the mouse > and then selecting “Run”, I am getting a small window which s

Re: No main classes found

2021-06-29 Thread Juan Algaba
June 28, 2021, 8:16:57 PM CDT, Zulfi Khan > wrote: > > > Hi, > I am working on Netbeans 12.4. > > I have created the project FibSeries2. When I am trying to run it by > selecting the project name from the left pane and right clicking the mouse > and then selecting “Run”

Re: No main classes found

2021-06-28 Thread Zulfi Khan
Hi,Thanks for pointing out the problem in the signature of main. I wrote the main class as: package com.mycompany.fibseries2; /**  *  * @author zulfi  */ public class MyTest {     public static void main(String[] args){     System.out.println("Test");     } } It worked. Zulfi. On Monda

Re: No main classes found

2021-06-28 Thread Andreas Reichel
On Tue, 2021-06-29 at 04:17 +0100, Som Lima wrote: > Some legal main method signatures. > public static void main(String a[]) > public static void main(String[] a) > public static void main(String... a) All the same signature byte-code wise, only different ways to write it. Cheers Andreas

Re: No main classes found

2021-06-28 Thread Owen Thomas
rgs)" > > Best regards > Andreas > > > > On Tue, 2021-06-29 at 01:16 +, Zulfi Khan wrote: > > Hi, > I am working on Netbeans 12.4. > > I have created the project FibSeries2. When I am trying to run it by > selecting the project name from the left pan

Re: No main classes found

2021-06-28 Thread Som Lima
[] args)" > > Best regards > Andreas > > > > On Tue, 2021-06-29 at 01:16 +, Zulfi Khan wrote: > > Hi, > I am working on Netbeans 12.4. > > I have created the project FibSeries2. When I am trying to run it by > selecting the project name from the left pa

Re: No main classes found

2021-06-28 Thread Scott Palmer
>> I have created the project FibSeries2. When I am trying to run it by >> selecting the project name from the left pane and right clicking the mouse >> and then selecting “Run”, I am getting a small window which says “no main >> classes Found”. >> But when I

no main classes found

2020-07-03 Thread Glenn Holmer
I have a Swing program I just modularized (source level 11). Runs from NetBeans, runs from command line, can run for debugging from the command line and attach the NetBeans debugger, but when I try to debug from within NetBeans, I get "no main classes found". I do have a class with a pub