title: Java command prompt error (Extention mechanism no longer supported)
body: <p>After a long time I tried to run my Eclipse, I got:</p>
  
  <blockquote>
    <p>Failed to create java virtual machine</p>
  </blockquote>
  
  <p>So I searched and tried changing some <code>eclipse.ini</code> lines to <code>-Xmx512m</code>.</p>
  
  <p>I thought it was Eclipse problem, I tried command prompt but the <code>java</code> command returned:</p>
  
  <blockquote>
    <p>/lib/ext exists, extensions mechanism no longer supported; Use -classpath instead.
    .Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.</p>
  </blockquote>
  
  <p>I have jre1.9.0 (which I don't remember installing this version).</p>