title: RoomLibrary - Current JDK version 1.8.0_221-b11 has a bug (https://bugs.openjdk.java.net/browse/JDK-8007720) that prevents Room from being incremental
body: <p>I can't get the Room library to work.</p>
  <pre><code>implementation &quot;androidx.room:room-runtime:2.3.0&quot;
  annotationProcessor &quot;androidx.room:room-compiler:2.3.0&quot;
  </code></pre>
  <p>It's throwing this error when I try to compile:</p>
  <pre><code> Current JDK version 1.8.0_221-b11 has a bug (https://bugs.openjdk.java.net/browse/JDK-8007720) that prevents Room from being incremental
  </code></pre>
  <p>I've updated the JDK to the latest version (8u291) but it still gives me the same error.</p>
  <p><code>Current JDK version 1.8.0_291-b10 has a bug (https://bugs.openjdk.java.net/browse/JDK-8007720) that prevents Room from being incremental. Consider using JDK 11+ or the embedded JDK shipped with Android Studio 3.5+.</code></p>
  <p>I've checked my environment variables to make sure it's in the right path</p>
  <p><a href="https://i.stack.imgur.com/1ANBh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1ANBh.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/BqKrM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BqKrM.png" alt="enter image description here" /></a></p>
  <p>I've tried configuring my <code>build.gradle</code> like recommended in the Docs</p>
  <p><a href="https://i.stack.imgur.com/GbqGa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GbqGa.png" alt="enter image description here" /></a></p>
  <p><a href="https://developer.android.com/jetpack/androidx/releases/room#version_230_2" rel="nofollow noreferrer">https://developer.android.com/jetpack/androidx/releases/room#version_230_2</a></p>
  <p><a href="https://i.stack.imgur.com/XZatB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XZatB.png" alt="enter image description here" /></a></p>
  <p>Doesn't work either.</p>
  <p>Not sure what to do at this point to get the Room library to work</p>