解决方案(win10+64位+IDEA.2017)

  • 在IDEA中按两下shift键进入search
  • 输入Switch Boot JDK
  • 选择Switch IDE boot JDK...菜单,点击jdk

  • 重启即可