Error running scratch file in IntelliJ 15

后端 未结 1 880
刺人心
刺人心 2021-01-14 19:47

Code:

I get the following when running it:

Reference:

https://www.youtube.com/watch?v=AmeDNZ-86ig

Settings (did not change

1条回答
  •  野的像风
    2021-01-14 20:16

    Got a solution see record "Eugene Zhuravlev 18 Feb 2016, 16:29" here: https://youtrack.jetbrains.com/issue/IDEA-140228?replyTo=27-1304218

    Seems like under mac IDEA's custom SDK home points to "IntelliJ IDEA 15.app/Contents" instead of "IntelliJ IDEA 15.app/Contents/Home". As a workaround please define a project JDK in Project Structure | Project Settings | Project

    0 讨论(0)
提交回复
热议问题