title: ProcessBuilder giving a "File not found" exception when the file does exist
body: <p>Working on an application that will run on a Linux web server to delete logs from a certain directory, however I keep getting a FileNotFound exception.</p>
  
  <p>Here is the code:</p>
  
  <pre><code>public static void deleteLOG() {
      try {
          ProcessBuilder probuilder = new ProcessBuilder("find /home/root/multicraft/servers/ -name '*.log' -delete");
          probuilder.start();
      } catch (IOException e) {
          e.printStackTrace();
      }
  }
  </code></pre>
  
  <p>And the exception</p>
  
  <pre><code>java.io.IOException: Cannot run program "find . -name '*CoreData*' -delete" (in directory "/home/root/multicraft/servers"): error=2, No such file or directory
          at java.lang.ProcessBuilder.start(Unknown Source)
          at com.mcprohosting.com.nodecleanup.Preprocess.deleteCoreData(Preprocess.java:23)
          at com.mcprohosting.com.nodecleanup.handlers.CleanupHandler.executeCleanup(CleanupHandler.java:36)
          at com.mcprohosting.com.main.NodeCleaner.init(NodeCleaner.java:29)
          at com.mcprohosting.com.main.NodeCleaner.main(NodeCleaner.java:25)
  Caused by: java.io.IOException: error=2, No such file or directory
          at java.lang.UNIXProcess.forkAndExec(Native Method)
          at java.lang.UNIXProcess.&lt;init&gt;(Unknown Source)
          at java.lang.ProcessImpl.start(Unknown Source)
          ... 5 more
  </code></pre>
  
  <p>However the command cd /home/root/multicraft/servers works perfectly fine.</p>
  
  <p>I've also tried:</p>
  
  <pre><code>    ProcessBuilder probuilder = new ProcessBuilder("find . -name '*Backup*' -delete");
      probuilder.directory(new File("/home/root/multicraft/servers/"));
      probuilder.start();
  </code></pre>