Pycharm 3.4 (fresh install) will not run on Yosemite with Apple JDK 1.6:
Crashed Thread: 32 Java: AWT-EventQueue-0
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
There are advices to switch to Oracle JDK 1.7 but since apple 1.6 is recommended I would rather stick with that version.
Edit this file: /Applications/PyCharm\ CE.app/Contents/Info.plist
vi /Applications/PyCharm\ CE.app/Contents/Info.plist
CHANGE:
<key>JVMVersion</key>
<string>1.6*</string>
TO:
<key>JVMVersion</key>
<string>1.8*</string>
Is this it
For PyCharm 4 in Mac OS X Yosemite:
Edit /Applications/[PyCharm app name]/Contents/Info.plist
Find and Replace -
this
<key>JVMVersion</key>
<string>1.6*</string>
with
<key>JVMVersion</key>
<string>1.8*</string>
It should be enough to download and install a fresh update for Apple Java 1.6. At the moment the latest update was Java for OS X 2014-001.
Install Java 6 from Apple.
From the Jetbrains Blog:
Modifying Info.plist will break the application digital signature and prevent the patch updates. We do not recommend modifying Info.plist file to run under JDK 1.7 or 1.8.
Current JDK 1.7 and 1.8 versions have several critical issues. We can't default to the new JDK version until these issues are resolved
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With