title: The selected directory is not a valid home for JDK - IntelliJ JavaFX JDK on windows
body: <p>I am new to Java programming. I wanted to learn JavaFX and from <a href="https://www.openjfx.io" rel="nofollow noreferrer"><strong>this</strong></a> I installed the SDK. I was using <a href="https://www.youtube.com/watch?v=BHj6zbH3inI&quot;" rel="nofollow noreferrer"><strong>this</strong></a> video to setup the SDK  but even I set the <code>JAVA_HOME</code> directory, I always get  the <strong>error</strong>:</p>
  
  <blockquote>
    <p><strong>The selected directory is not a valid home for JDK.</strong></p>
  </blockquote>