title: How to start minecraft 1.8.9 from Command Prompt (Windows)
body: <p>I came up with this command so far:</p>
  
  <pre><code>java -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M -Djava.library.path=C:\Users\root\AppData\Roaming\.minecraft\versions\1.8.9\1.8.9-natives -cp C:\Users\root\AppData\Roaming\.minecraft\libraries\oshi-project\oshi-core\1.1\oshi-core-1.1.jar net.minecraft.client.main.Main --username Stefan15ist --version, 1.8.9 --gameDir C:\Users\root\AppData\Roaming\.minecraft --assetsDir C:\Users\root\AppData\Roaming\.minecraft\assets --assetIndex 1.8 --uuid 00000000-0000-0000-0000-000000000000 --accessToken --userProperties --userType legacy
  </code></pre>
  
  <p>but when i run it, I get the following error:</p>
  
  <pre><code>Error: Could not find or load main class net.minecraft.client.main.Main
  </code></pre>
  
  <p>any help is appreciated.</p>