title: Eclipse terminate shotcut
body: <p>I am familiar with <a href="https://stackoverflow.com/questions/321118/what-is-the-short-cut-in-eclipse-to-terminate-debugging-running">What is the short cut in eclipse to terminate debugging/running?</a>. But nothing is working for me. I wish to be able to terminate a running program in the Java perspective in the same manner I able to do so on the Debug perspective with <kbd>CTRL</kbd>+<kbd>F2</kbd>.</p>
  
  <p>If one could provide a specific details of how to achieve it, It will be really great!</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>To clear any doubts, Assume a toy example when all we have is as following:</p>
  
  <pre><code>public class ToyExample {
      public static void main(String[] args) {
          while (true);
      }
  }
  </code></pre>
  
  <p>I wish to execute (run) the program above normally (<kbd>CTRL</kbd>+<kbd>F11</kbd>), i.e. not under Debug mode, and have the ability to terminate it by <kbd>CTRL</kbd>+<kbd>F2</kbd> (or another keyboard-shortcut).</p>