IntelliJ IDEA “The selected directory is not a valid home for JDK”

后端 未结 11 1255
梦如初夏
梦如初夏 2020-12-05 12:19

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.

I tried navigating to my J

11条回答
  •  有刺的猬
    2020-12-05 13:21

    One thing we should note: the jdk should be installed on C: drive.

    I had JDK installed on my D: drive like this:

    D:\Program Files\Java\jdk1.8.0_101
    

    And it would still give me the same error. For some reason Java should be installed on C: drive.

提交回复
热议问题