title: IntelliJ Git plugin can't seem to find Java Runtime
body: <p>When trying to perform any git actions on my IntelliJ, I get the below error:</p>
  <pre><code>            0 file committed, 11 files failed to commit: Documentation updates, error message updates
              The operation couldn’t be completed. Unable to locate a Java Runtime.
              Please visit http://www.java.com for information on installing Java.
  </code></pre>
  <p>Which is unusual because everything else on the editor works - the code completion, running maven, even the tests. So if I am not mistaken, IntelliJ is identifying a Java Runtime but for some reason the Git plugin is not picking it up.</p>
  <p>Running Git in the normal terminal works fine and the application executes on the terminal. What is causing this issue?</p>
  <p>My IntelliJ about is as follows:</p>
  <pre><code>IntelliJ IDEA 2020.3.3 (Community Edition)
  Build #IC-203.7717.56, built on March 15, 2021
  Runtime version: 11.0.10+8-b1145.96 x86_64
  VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
  macOS 10.16
  GC: ParNew, ConcurrentMarkSweep
  Memory: 1979M
  Cores: 12
  </code></pre>
  <p><a href="https://i.stack.imgur.com/vn50U.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vn50U.png" alt="Project Structure" /></a></p>
  <p><a href="https://i.stack.imgur.com/uLQW6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uLQW6.png" alt="Module Settings" /></a></p>