title: Selected directory is not a valid home for JDK - Intellij IDEA on Ubuntu
body: <p>After installing Intellij Idea 14, with OracleJDK 1.8 u25 (64 bit) on my 14.04 Ubuntu system, I cannot configure the Java SDK to use any JDK. When I navigate to Module Settings->SDK and click configure SDK, the add button, and then select <code>/usr/java/jdk1.8.0_25</code> in the dialog, I get an error popup stating that "The selected directory is not a valid home for JDK."</p>
  
  <p>I've checked the contents of the directory, which contains a <code>bin</code> folder with both <code>java</code> and <code>javac</code> inside, a <code>lib</code> folder and a <code>jre</code> folder.</p>
  
  <p>I've tried selecting each of those in turn, to no avail, which I expected.</p>