title: How to fix "Gradle 5.4 requires Java 8 or later to run. Your build is currently configured to use Java 7"
body: <p><img src="https://i.stack.imgur.com/zlUd8.png" alt="enter image description here" /></p>
  <p>I use IntelliJ IDEA, and there is a problem message:</p>
  <p>&quot;Gradle 5.4 requires Java 8 or later to run. Your build is currently configured to use Java 7&quot;</p>
  <p>How to handle it?</p>