title: Unrecognized option: -MaxMetaspaceSize=256m
body: <p>While ordinary run under IDEA I've got:</p>
  <blockquote>
  <p>/usr/lib/jvm/java-8-oracle/jre/bin/java ...</p>
  <p>Unrecognized option: -MaxMetaspaceSize=256m<br />
  Error: Could not create
  the Java Virtual Machine.<br />
  Error: A fatal exception has occurred.
  Program will exit.</p>
  <p>Process finished with exit code 1</p>
  </blockquote>
  <p>Why can't I add the -MaxMetaspaceSize=256m JVM property?</p>
  <hr />
  <p>Additional info:</p>
  <p>echo $JAVA_HOME</p>
  <blockquote>
  <p>/usr/lib/jvm/java-8-oracle/lib</p>
  </blockquote>
  <p>sudo update-alternatives --config java</p>
  <blockquote>
  <p>There are 2 choices for the alternative java (providing
  /usr/bin/java).</p>
  <p>Selection    Path                                     Priority</p>
  <hr />
  <ul>
  <li>0            /usr/lib/jvm/java-8-oracle/jre/bin/java   9         auto mode<br />
  1            /usr/lib/jvm/java-7-oracle/jre/bin/java   8   manual mode</li>
  </ul>
  </blockquote>
  <p>The same for javac &amp; javaws, project settings, module, default settings are using jre8 &amp; javac8.</p>