Let’s say I have Java console application with endless loop in main function. When I execute it from the DOS window:
java MyBuggyProgram
I can press Ctrl+C to stop it. How can I stop it, when I use Run command from Eclipse (Windows)? The program is not listed in the Task Manager. Ctrl+C in the Console window doesn’t work.
On bottom right of eclipse you will see one red icon. You can click on it. It pops up confirmation message. Just accept it.