Error running scratch file in IntelliJ 15

匿名 (未验证) 提交于 2019-12-03 02:28:01

问题:

Code:

I get the following when running it:

Reference:

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

Settings (did not change anything here):

回答1:

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



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!