title: IntelliJ IDEA "The selected directory is not a valid home for JDK"
body: <p>I just installed IntelliJ IDEA and I'm trying to set it up. I've gotten to the part where I need to select my home directory for my JDK.</p>
  
  <p>I tried navigating to my Java installation, <code>C:\Program Files (x86)\Java</code>, and clicked okay but it told me the message above. So, I tried <code>C:\Program Files (x86)\Java\jre7</code> and that didn't work either.</p>
  
  <p>I tried reinstalling the latest JDK (from <a href="http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html" rel="noreferrer">here</a>) and I still couldn't choose my JDK. I even dragged the <code>.jar</code> installer I got from the website and the file selector window wouldn't recognize it.</p>
  
  <p>I'm at a standstill and I don't know what to do.</p>