Hi,

I noticed that NetBeans differs Main class scan when another app running with console output.

1-Write for example test2021 application like this one :
public class Test2021 {
    public static void main(String[] args) {
        System.out.println("Start");
        for (int i = 0; i < Integer.MAX_VALUE; i++) {
            System.out.println("i = " + i);
        }
        System.out.println("End");
    }
}

2- Launch Test2021

3-Write another application test2022 through "File new Project" ...
public class Test2022 {
    public static void main(String[] args) {
        // TODO code application logic here
    }
}

4-When one try to run test2022, NetBeans warns "No Main Class found".

5-Stop test2021, few second later the Test2022 main class is found.

Is it a normal behaviour ?

Regards

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to