title: Getting STDIN in eclipse?
body: <p>I need to write a code for competition using STDIN and STDOUT, how can I set up eclipse to take input from STDIN??</p>
  
  <p>When I was just using editor and command line I was running:</p>
  
  <pre><code>java Hatch &lt; hatch_input
  </code></pre>
  
  <p>Now I need the equivalent to work directly from eclipse. It would be perfect if I could use it directly from file, but it would to suffice to just be able to paste the actual input somewhere, as long as I can write code that takes STDIN directly in eclipse by clicking RUN.</p>
  
  <pre><code>class Main{
  
         public static void main (String[] args) throws java.lang.Exception{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
      }
  
  }
  </code></pre>
  
  <p>Above code is what I am trying to achieve. </p>