title: restart java app in ubuntu
body: <p>What's the best way to restart a java app in ubuntu?  I know u can run commands like this one from the terminal, but it doesnt seem to be working...</p>
  
  <pre><code>        String restartArgs = "java -jar \'/home/fdqadmin/NetBeansProjects/dbConvert2/dist/dbConvert2.jar\' --Terminal=true";
          Process restart = Runtime.getRuntime().exec(restartArgs);
          System.exit(1);
  </code></pre>