title: Java 11 or newer is required to run the IDE Android studio
body: <p>When I try to update android studio to version: <strong>Arctix Fox | 2020.3.0</strong>
  i get this error</p>
  <pre><code>Java 11 or newer is required to run the IDE,
  Please contact support at https://code.google.com/p/android/issues
  Your JRE: 1.8.0_301-b09x86 (Oracle Coporation)
  C:\Program Files (x86)\Java\jdk1.8.0_301\jre
  </code></pre>
  <p>Please note that i already have both installed even tho when i try to remove the old version 1.8 i get the same error.</p>
  <p>my <code>JAVA_HOME</code> is set to: C:\Program Files\Java\jdk-11.0.12</p>
  <p>and when i check java version in cmd using <code>java --version</code>
  i get</p>
  <pre><code>openjdk 11.0.12 2021-07-20
  OpenJDK Runtime Environment Temurin-11.0.12+7 (build 11.0.12+7)
  OpenJDK 64-Bit Server VM Temurin-11.0.12+7 (build 11.0.12+7, mixed mode)
  </code></pre>
  <hr />
  <p><strong>EDIT:</strong></p>
  <p>if i delete folder jdk1.8.0_301 in path C:\Program Files (x86)\Java
  i get this error:</p>
  <pre><code>Failed to load JVM DLL C:\Program
  Files\Java\jdk-11.0.12\bin\jvm.dll
  if you already have 32-bit JDK insalled, define a JAVA_HOME variablee in Computer &gt; System Properties &gt; System Settings &gt; Environment Variables.
  </code></pre>
  <hr />
  <p><strong>EDIT:</strong></p>
  <p>After removing all old versions than restarting pc and downloading and installing version JRE - 27 MB .msi, the error msg is gone when i try to open android studio but i got this new message says :</p>
  <pre><code>Cannot load a JDK class: com.sun.jdi.Field 
  Please ensure you run the IDE on JDK rather than JRE.
  </code></pre>
  <p>Also i have noticed the new JAVA_HOME path is set to</p>
  <pre><code>C:\Program Files (x86)\AdoptOpenJDK\jre-11.0.11.9-hotspot\
  </code></pre>
  <p>and when i try to change it to <code>C:\Program Files (x86)\Java\jdk-11.0.12</code></p>
  <p>i get the same old error:</p>
  <p>Failed to load JVM DLL C:\Program
  Files\Java\jdk-11.0.12\bin\jvm.dll</p>