title: Invalid JDK configuration found, while importing a project via Gradle
body: <p>I have installed IntelliJ and I need to import a Gradle project.</p>
  
  <p>I have build the gradle project using command prompt with the gradlew build command.</p>
  
  <p>At the IntelliJ welcome page, I have proceeded with proper instructions, and when I choose "Finish". I get the following error:</p>
  
  <blockquote>
    <p>Invalid Gradle JDK configuration found. Open Gradle Settings JAVA_HOME ennvironment variable not set.</p>
  </blockquote>
  
  <p>When I click on "Open Gradle Settings" it pop up with error of Not found with a path under IntelliJ directory in Program files and searching in jre/jre/bin/....etc.</p>