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

后端 未结 11 1304
梦如初夏
梦如初夏 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 12:57

    For Windows, apparently the JDK has to be under C:\Program Files.

    This does not work:

    C:\dev\Java\jdk1.8.0_191     
    

    This works:

    C:\Program Files\Java\jdk1.8.0_191     
    

    (I'm using IntelliJ IDEA Ultimate 2018.2.4.)

提交回复
热议问题