title: Elasticsearch Windows UseConcMarkSweepGC error
body: <p>I just downloaded the latest ElasticSearch 7.14.0 zip for Windows. I also downloaded the latest Logstash and Kibana. They sit on a Windows Server 2016 hosted server.</p>
  <p>I installed the latest Java for Windows (Version 8 Update 301) from:</p>
  <p><a href="https://www.java.com/en/download/" rel="nofollow noreferrer">https://www.java.com/en/download/</a></p>
  <p>On running elasticsearch.bat, I get the following error:</p>
  <pre><code>Unrecognized VM option 'UseConcMarkSweepGC'
  </code></pre>
  <p>I've Googled endlessly and all of the sparse forum answers are in alien technical language. I've tried commenting out the following lines in the config/jvm.options file and I still get the error.</p>
  <pre><code># 8-13:-XX:+UseConcMarkSweepGC
  # 8-13:-XX:CMSInitiatingOccupancyFraction=75
  # 8-13:-XX:+UseCMSInitiatingOccupancyOnly
  </code></pre>
  <p>Is there a plain English answer to how I fix this? I know nothing about Java, and am just trying to learn ElasticSearch for a small project.</p>