IntelliJ gives Fatal Error: Unable to find package java.lang in classpath or bootclasspath

后端 未结 7 1121
悲哀的现实
悲哀的现实 2020-12-02 13:54

When I try to make a simple module in IntelliJ it responds with:

Fatal Error: Unable to find package java.lang in classpath or bootclasspath
7条回答
  •  遥遥无期
    2020-12-02 14:29

    1. File > Project Structure
    2. JDK home path : PASTE_THE_JDK_LOCATION (Like here in the "Project Structure screen shot"

    3. Build Again

      Cheers :)

提交回复
热议问题