title: Start a Java process at low priority using Runtime.exec / ProcessBuilder.start?
body: <p>I'm trying to start an external process via Java using the ProcessBuilder class, and that much works. Currently running using the command:</p>
  
  <pre><code>new ProcessBuilder("java", "-jar", jarfile, args);
  </code></pre>
  
  <p>What I would like to do is just this, but to start the process with low priority. My program is currently only running on Windows, so a window-specific solution is fine by me. Some research suggests I use the "start" command, but when I try doing this from Java it gives an exception saying it is an unrecognized command (the same command works from cmd.exe).</p>
  
  <p>Does anyone know how to launch a process from Java (Windows-specific if need be), with <code>belownormal</code> priority?</p>