This is a tip in reference to Yosemite ´s users (10.10). Yosemite erase 1.6 apple jdk and install 1.7, but JAVA´s IDE for example Intellij or Eclipse needs 1.6, if you haven´t reinstalled this version, your ide will crash at the beginning... after this process you can configure your ide with 1.7 version.
Here the link : Apple JDK 1.6
Reinstalling
libpng
helped me after hours of tries and checking all possible causes:Tested on Mac OS X Sierra (10.12.1) with WebStorm 2016.2
Since today, PHPStorm 9 comes with a special Yosemite version including JDK 1.8.
No more issues with java...
Please do not edit your Info.plist file as it will break the application digital signature and prevent the patch updates.
I was able to get phpStorm working properly again on my Mac ( Yosemite ) by installing this apple support package: Java for OS X 2014-001Java
This package installs the same version of Java 6 included in Java for OS X 2013-005 which apparently plays nice with JetBrains.
Hope this helps.
It's easy to change Jetbrains' products to use jdk1.7:
Info.plist
Find:
<key>JVMVersion</key> <string>1.6*</string>
and change to:
<key>JVMVersion</key> <string>1.7*</string>
Save and quit,
Apple 1.6 is still required to run JetBrains IDEs. There should be a window with the suggestion to install Java when you start the product for the first time, but it could be hidden by other application windows. See https://intellij-support.jetbrains.com/entries/27854363-IDE-doesn-t-start-after-updating-to-Mac-OS-Yosemite-or-Mavericks