title: Process.getOutputStream() doesn't work?
body: <p>So I'm starting a Bukkit (Minecraft) server from a GUI.  </p>
  
  <pre><code>ProcessBuilder builder = new ProcessBuilder();
  builder.redirectErrorStream(true);
  builder.command("java", "-jar", file.getAbsolutePath());
  
  try {
      p = builder.start();
      input = new BufferedReader(new InputStreamReader(p.getInputStream()));
      output = new DataOutputStream(p.getOutputStream());
  } catch (IOException e) {
      Logger.logError(e);
      return;
  }
  </code></pre>
  
  <p>There are no errors, and the server itself starts correctly.  The input stream works correctly too, as I get all the input as I should.  Now, I have this method to send a command to the server.</p>
  
  <pre><code>public void send(String message) {
      try {
          output.writeUTF(message + "\n");
          output.flush();
      } catch (IOException e) {
          Logger.logError(e);
      }
  }
  </code></pre>
  
  <p>For some reason though, it doesn't work. I'm not sure if I missed a step, or am looking over something, etc.  Any help would be greatly appreciated!</p>