public void Start(string configurationArgs = "") { configurationArgs = string.Format("-port {0} {1}", Port, configurationArgs); if (string.IsNullOrEmpty(Java.GetJreVersion())) { throw new Exception("Java JRE not installed, go to https://www.java.com/en/download/"); } ServerProcess = Process.Start("java", string.Format("-jar \"{0}\" {1}", StandAlonePath, configurationArgs)); if (!WaitUntilRunning()) { throw new Exception("Server didnt start as expected"); } }