Running jar file in cmd in Windows gives error
<p>I have downloaded a jar file called beagle.14Jan16.841.jar from <a href="http://faculty.washington.edu/browning/beagle/beagle.html" rel="nofollow">here</a> and am trying to run it in cmd using the line </p>

<pre><code>java –Xmx8g –jar beagle.14Jan16.841.jar gt=beaglefilt.vcf out=beagleoutput
</code></pre>

<p>My cmd directory is the location of the beagle.14Jan16.841.jar file.</p>

<p>The error I get is <code>Error: Could not find or load main class ?Xmx8g</code></p>

<p>My java is up to date and PATH leads to my java bin folder (<code>java -version</code> works).</p>