我最近在雪豹(10.6.8)上安装了 java 1.7.0_45 和 intellij 13
我已经能够使用 java 1.7 从命令行编译类和运行 java 程序。
Intellij 链接到 java 1.7.0_45 安装和代码完成以及其他源代码功能正常工作,但是当我尝试制作项目时我得到以下信息:
Abnormal build process termination:
2014-01-16 15:16:25.169 java[1467:903] *** NSInvocation: warning: object 0x10871b390 of class 'ThreadUtilities' does not implement methodSignatureForSelector: -- trouble ahead
2014-01-16 15:16:25.171 java[1467:903] *** NSInvocation: warning: object 0x10871b390 of class 'ThreadUtilities' does not implement doesNotRecognizeSelector: -- abort
最佳答案
我看到了同样的问题,我认为这是由于 JDK7 与 Snow Leopard 不兼容造成的。
尽管可以通过 getting the OS to misreport the version 在 10.6 上安装 JDK7这样安装程序就可以继续使用它,该解决方法的生命周期有限,可能就是这样。
尝试安装 JDK 1.7.0_45 和 _51 都会为 Intellij 12 和 13 提供相同的结果,因此看起来这是雪豹上 Java 的死胡同。
可能值得下载 5Gb 以升级到 Mavericks,因为在我完成此操作后一切正常。您可以通过 following these instructions 避免 Intellij 在启动时要求 JDK6 .
关于java - Mac 雪豹上的 Intellij 13 无法编译,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21172079/