title: Invalid initial heap size -Xms4096M
body: <p>I'm trying to run Cassandra on my computer, but I keep getting the following error message:</p>
  
  <pre><code>Invalid initial heap size: -Xms4096M
  The specified size exceeds the maximum representable size.
  Error: Could not create the Java Virtual Machine.
  Error: A fatal exception has occurred. Program will exit.
  </code></pre>
  
  <p>Anyone know why and how to fix this?</p>
  
  <p>I am running:</p>
  
  <pre><code>Windows 10 Pro 64bit
  Java 32 Bit
  </code></pre>
  
  <p>It seems I need to install a 64bit version of JRE.  I have tried searching java.com and oracle.com for this, but I can't find anything obvious which will let me install a 64bit JRE.  The default installer from java.com seems to be 32bit.  Can someone please let me know how and where to get the 64bit JRE from?</p>