title: Task :react-native-gradle-plugin:compileKotlin FAILED
body: <blockquote>
  <p>Task :react-native-gradle-plugin:compileKotlin FAILED
  'compileJava' task (current target is 1.8) and 'compileKotlin' task (current target is 11) jvm target compatibility should be set to the same Java version.
  1 actionable task: 1 executed</p>
  </blockquote>
  <p>FAILURE: Build failed with an exception.</p>
  <ul>
  <li>What went wrong:
  Execution failed for task ':react-native-gradle-plugin:compileKotlin'.</li>
  </ul>
  <blockquote>
  <p>Failed to query the value of task ':react-native-gradle-plugin:compileKotlin' property 'compilerRunner$kotlin_gradle_plugin'.
  Kotlin could not find the required JDK tools in the Java installation. Make sure Kotlin compilation is
  running on a JDK, not JRE.</p>
  </blockquote>
  <ul>
  <li>Try:</li>
  </ul>
  <blockquote>
  <p>Run with --stacktrace option to get the stack trace.
  Run with --info or --debug option to get more log output.
  Run with --scan to get full insights.</p>
  </blockquote>
  <ul>
  <li>Get more help at <a href="https://help.gradle.org" rel="noreferrer">https://help.gradle.org</a></li>
  </ul>
  <p>BUILD FAILED in 31s</p>
  <p>error Failed to install the app. Make sure you have the Android development environment set up: <a href="https://reactnative.dev/docs/environment-setup" rel="noreferrer">https://reactnative.dev/docs/environment-setup</a>.
  Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081</p>
  <p>FAILURE: Build failed with an exception.</p>
  <ul>
  <li>What went wrong:
  Execution failed for task ':react-native-gradle-plugin:compileKotlin'.</li>
  </ul>
  <blockquote>
  <p>Failed to query the value of task ':react-native-gradle-plugin:compileKotlin' property 'compilerRunner$kotlin_gradle_plugin'.
  Kotlin could not find the required JDK tools in the Java installation. Make sure Kotlin compilation is
  running on a JDK, not JRE.</p>
  </blockquote>