title: No JDK found installing Apache NetBeans IDE on MacOS Big Sur
body: <p>I'm trying to install Apache NetBeans IDE on my MacOS Big Sur, but it fails at the beginning</p>
  <p><a href="https://i.stack.imgur.com/95J21.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/95J21.png" alt="enter image description here" /></a></p>
  <p>This is my java -version</p>
  <p><a href="https://i.stack.imgur.com/czzTp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/czzTp.png" alt="enter image description here" /></a></p>
  <p>I tried to edit the .profile or .bash_profile for the java_home as some people said in other answers, but it did nothing.</p>