前言
打开IntelliJ IDEA后立即弹出程序报错页面,主要错误内容为:_CGContextSetAllowsAcceleration. 学习笔记,以备查阅.
Author duangr
相关环境
OS X: 10.10.1
IntelliJ IDEA 版本: 13.1.4
问题现象
打开IDEA后立即报错,提示如下:
Dyld Error Message: Symbol not found: _CGContextSetAllowsAcceleration Referenced from: /Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents/Libraries/libawt.jnilib Expected in: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
修复方案
编辑文件 /Applications/IntelliJ IDEA 13.app/Contents/Info.plist
找到关键字 JVMVersion
JVMVersion
1.6*
将1.6*修改为1.7*
JVMVersion
1.7*