3

I met a problem when I set the sdk for Intellij Idea2016

Not the same as Selected directory is not a valid home for JDK - Intellij IDEA on Ubuntu.

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":

idea

can somebody help me?

Community
  • 1
  • 1
Eumendies
  • 93
  • 1
  • 13

1 Answers1

3

I found the issue after whole morning. Maybe the Intellij Idea 2016.1.3 doesn't support the latest two version what are jdk1.8.0_91 and jdk1.8.0_92.

I try the previous version of jdk1.8.0_77 here is the archive download http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html.

enter image description here

Hope you would resolve the issue if met.

Josemy
  • 810
  • 1
  • 12
  • 29
Eumendies
  • 93
  • 1
  • 13