title: Error: could not open 'C:\Java\jre8\lib\amd64\jvm.cfg'
body: <p>I downloaded this  "<a href="https://www.oracle.com/java/technologies/javase-jdk11-downloads.html#license-lightbox" rel="nofollow noreferrer">https://www.oracle.com/java/technologies/javase-jdk11-downloads.html#license-lightbox</a>" Java JDK and installed it.</p>
  
  <p>But when I go to the command prompt to check the version, it says </p>
  
  <blockquote>
  <pre><code>Error: could not open 'C:\Program Files\Java\jre1.8.0_241\lib\amd64\jvm.cfg' 
  </code></pre>
  </blockquote>
  
  <p>Can someone solve my problem?</p>
  
  <p><img src="https://i.stack.imgur.com/pBduB.png" alt="enter image description here"></p>