public void startServer() throws IOException {
  Runtime rt=Runtime.getRuntime();
  process=rt.exec(startCommand);
  CommandLineFetcher error=new CommandLineFetcher(process.getErrorStream(),serverErrorOutput);
  CommandLineFetcher output=new CommandLineFetcher(process.getInputStream(),serverOutput);
  error.start();
  output.start();
  LOGGER.info("Server successfully started.");
}

public void startServer ( ) throws IOException { Runtime rt = Runtime . getRuntime ( ) ; process = rt . exec ( startCommand ) ; CommandLineFetcher error = new CommandLineFetcher ( process . getErrorStream ( ) , serverErrorOutput ) ; CommandLineFetcher output = new CommandLineFetcher ( process . getInputStream ( ) , serverOutput ) ; error . start ( ) ; output . start ( ) ; LOGGER . info ( "Server successfully started." ) ; }
this function starts the server using the startcommand
