title: how to run java project using batch file
body: <p>I have written java project which contains only one class. </p>
  
  <p>I want to run it on another pc's using batch file.</p>
  
  <p>Please advise me how to do this. My class contains parameters for running.</p>
  
  <p>I organize them in such way:</p>
  
  <pre><code>Scanner in = new Scanner(System.in);
  System.out.println("Enter value1: ");
  value1 = Double.parseDouble(in.nextLine()); 
  </code></pre>
  
  <p>Path to my java is <code>C:\Program Files\Java\jdk1.7.0_09\bin</code>
  My project is in eclipse workspace.</p>
  
  <p>I need to add than I want to see in cmd output "Enter value1: " and have possibility to set this value during execution.</p>