title: Runtime.getRuntime().exec(__);
body: <p>I'm rather new to Java and I'm creating my first project. </p>
  
  <p>Anyway - I'm trying to execute another compiled program located in the same folder using Runtime.getRuntime().exec(__);</p>
  
  <p>Thing is - When running and entering the necessary information for the rest of the program and reaching the point of execution, I get a sort of error.</p>
  
  <pre><code>java.io.IOException: Cannot run program "\Italian": CreateProcess error=2, The system cannot find the file specified
  at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
  at java.lang.Runtime.exec(Runtime.java:620)
  at java.lang.Runtime.exec(Runtime.java:450)
  at java.lang.Runtime.exec(Runtime.java:347)
  at Login.main(LOGIN.java:24)
  Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
  at java.lang.ProcessImpl.create(Native Method)
  at java.lang.ProcessImpl.&lt;init&gt;(ProcessImpl.java:386)
  at java.lang.ProcessImpl.start(ProcessImpl.java:137)
  at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
  ... 4 more
  </code></pre>
  
  <p>The main CODE is - </p>
  
  <pre><code>import java.util.Scanner;
  import java.io.*;
  import javax.swing.JOptionPane;
  class Login {
  
      public static void main(String[] args) {
  
      Scanner input = new Scanner(System.in);
  
      String username;
      String password;
      String a = "\\Italian";
  
      username = JOptionPane.showInputDialog(null,"Log in:\nEnter username: ");
      password = JOptionPane.showInputDialog(null,"Enter Password: ");
  
      users check = new users(username, password);
  
  
  
      if(check.auth()) 
          try
          {
              Runtime.getRuntime().exec(a);
          }
          catch(IOException ioe)
          {
              ioe.printStackTrace();
          }
  
  
      }
  
  }
  </code></pre>