title: Runtime.getRuntime().exec() not working
body: <p>I am trying to run a jar file from a java program. When I execute following code nothing happens. Name of jar file is Testing.jar. File paths are correct still neither an exception is thrown nor program from Testing.jar runs.</p>
  
  <pre><code>package helloworld;
  
  import java.io.IOException;
  import java.util.Scanner;
  
  public class HelloWorld {
  
      public static void main(String[] args) throws IOException {
          Runtime.getRuntime().exec("java -jar C:\\Users\\Home\\Documents\\NetBeansProjects\\Testing\\dist\\Testing.jar");
      }
  
  }
  </code></pre>
  
  <p>This same jar file runs correctly from CMD. I used following command for that:</p>
  
  <pre><code>java -jar "C:\\Users\\Home\\Documents\\NetBeansProjects\\Testing\\dist\\Testing.jar"
  </code></pre>