title: Run ProcessBuilder under another user in linux
body: <p>I need to run another java app under Debian system but I need to run it under another user. The main java app is running under root. 
  Now I am using this to start another java app but I need to run all this as another user, is it somehow possible ?</p>
  
  <pre><code>        ProcessBuilder processBuilder = new ProcessBuilder(new String[]{"java", "-Xms256M", "-Xmx" +    DataManager.getMaxMemory(server) + "M", "-XX:MaxPermSize=256M", "-jar", "/home/apps/jar/" + DataManager.getJar(server), "nogui"});
          File folder = new File("/home/apps/servers/" + server + "/");
          processBuilder.directory(folder);
          Process p = processBuilder.start();
  </code></pre>
  
  <p>Thanks.</p>