If I have multiple scripts in my folder and I only want to run one of them, hitting runjava will compile them all. At this point, if there are errors in other scripts, there will be errors, even if the current script I want to run does not have errors.
I have two errors in DemoTwo.java. When I run DemoOne.java, a pop-up window will appear. Click proceed to compile and run demoone normally.

I know I can click proceed to continue, but this is not the best solution.
If I have multiple scripts in my folder and I only want to run one of them, hitting runjava will compile them all. At this point, if there are errors in other scripts, there will be errors, even if the current script I want to run does not have errors.
I have two errors in DemoTwo.java. When I run DemoOne.java, a pop-up window will appear. Click proceed to compile and run demoone normally.
I know I can click proceed to continue, but this is not the best solution.