Just edit this file:
/Application/PhpStorm.app/Contents/Info.plist
On this line, change to use JVM 1.8.
87 <key>JVMVersion</key> 88 <string>1.8*</string>
Force PhpStorm to Use Java JDK 1.8 on Yousemite
原文:http://my.oschina.net/mayboy24/blog/469835