Pycharm 3.4 will not work in Yosemite

Pycharm 3.4 (new installation) will not work 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 recommendations to switch to Oracle JDK 1.7, but since it is recommended to use the 1.6 kernel, I would prefer to stick with this version.

+6
source share
4 answers

Just download and install the new update for Apple Java 1.6. At the moment, the latest update was Java for OS X 2014-001 .

+1
source

Edit this file: / Applications / PyCharm \ CE.app/Contents/Info.plist

vi / Applications / PyCharm \ CE.app/Contents/Info.plist

EDIT:

 <key>JVMVersion</key> <string>1.6*</string> 

TO:

 <key>JVMVersion</key> <string>1.8*</string> 

It is he

+12
source

For PyCharm 4 on Mac OS X Yosemite:

  • Edit / Applications / [PyCharm application name] /Contents/Info.plist

  • Find and replace -

this is

 <key>JVMVersion</key> <string>1.6*</string> 

with

  <key>JVMVersion</key> <string>1.8*</string> 
+3
source

Install Java 6 from Apple .

From the Jetbrains Blog :

Modifying Info.plist will violate the digital signature of the application and prevent the patch from updating. We do not recommend modifying the Info.plist file to run under JDK 1.7 or 1.8.

There are several important issues with modern versions of JDK versions 1.7 and 1.8. We cannot, by default, use the new version of the JDK until these problems are resolved.

+2
source

Source: https://habr.com/ru/post/975486/


All Articles