What build system do you use for this example? If Gradle, the it would be supported in the 12.2 release only (the patch already available in the development builds).

On 9/18/20 7:36 AM, Peter Ream wrote:
I had a java program that worked in mood.fi <http://mood.fi>’s plugin in netbeans. I tried it in Netbeans 12.0, but it would not work. Here is an example that does not work in Netbeans 12:

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);
        while (true) {
            System.out.print("Command: ");
            String command = scanner.nextLine();
                System.out.println("Bye bye!");
                break;
            }
        }
    }
}

I have prior versions of Netbeans lying around. I found this works up through 11.1, but does not work in 11.3.

Any ideas?

Thank you.

Peter

Reply via email to