> >
> > 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
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”
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
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
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
[] 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
>> 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
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