在IntelliJ 15中运行暂存文件时出错 [英] Error running scratch file in IntelliJ 15
问题描述
代码:
我得到了关注时运行:
参考:
获得解决方案查看记录Eugene Zhuravlev 18 2016年2月16:29这里: https://youtrack.jetbrains.com/issue/IDEA-140228?replyTo=27-1304218
似乎在mac IDEA的自定义SDK主页指向IntelliJ IDEA 15.app/Contents而不是IntelliJ IDEA 15.app/Contents/Home。
作为解决方法,请在项目结构中定义项目JDK项目设置|项目
Code:
I get the following when running it:
Reference:
https://www.youtube.com/watch?v=AmeDNZ-86ig
Settings (did not change anything here):
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
这篇关于在IntelliJ 15中运行暂存文件时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!