I recently installed netbeans (12.6) on a new computer. In a previous version (8.2) I was always able to have a main method in a class inside the web application, which I was able to run to do Sys.out to the console, specifically for testing.
Now, with the new install when I try to run the main method I get the following error:
-Xbootclasspath/p is no longer a supported option. Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
Please assist.