title: Selected directory is not a valid home for JDK - Intellij IDEA2016 on Windows
body: <p>I met a problem when I set the sdk for Intellij Idea2016</p>
  
  <p>Not the same as <a href="https://stackoverflow.com/questions/30116439/selected-directory-is-not-a-valid-home-for-jdk-intellij-idea-on-ubuntu">Selected directory is not a valid home for JDK - Intellij IDEA on Ubuntu</a>.</p>
  
  <p>My Idea can set JDK1.7 successfully, but when set the jdk1.8, it will warn "Selected directory is not a valid home for JDK":</p>
  
  <p><a href="https://i.stack.imgur.com/6mqnn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6mqnn.png" alt="idea"></a></p>
  
  <p>can somebody help me?</p>