title: Launch Minecraft 1.8.3 with C#
body: <p>I'm currently trying to make a minecraft launcher for my server. But some reason it wont start. This is the code I used. Can someone check what I did wrong ?</p>
  
  <pre><code>string installPath = GetJavaInstallationPath();
  string filePath = System.IO.Path.Combine(installPath, "bin\\Javaw.exe");
  
  Environment.SetEnvironmentVariable("APPDATA", "C:\\SCO\\");
  
  Process process = new Process();
  ProcessStartInfo info = new ProcessStartInfo();
  string dir = @"C:\SCO\.minecraft\versions\";
  info.FileName = filePath;
  info.CreateNoWindow = true;
  info.Arguments = "-cp \"" + dir + "1.8.3.jar;" + dir + "lwjgl.jar;" + dir + "lwjgl_util.jar;" + dir + "jinput.jar;\" ";
  info.Arguments += "\"-Djava.library.path=" + dir + "natives\" -Xmx1024M -Xms512M net.minecraft.client.main.Main " + username + " " + session;
  process.StartInfo = info;
  process.Start();
  </code></pre>