IntelliJ not starting after OS X Yosemite update

What you need to do is go ahead and edit this file:

/Applications/IntelliJ IDEA 13.app/Contents/Info.plist

Replacing this:

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

with this:

<key>JVMVersion</key>
<string>1.7*</string>

Edit: As said by intellij member @crazycoder, the recomended way to total fix this is to install the latest jdk 1.6


The officially recommended solution is to install/update JDK 1.6 on Mac (if this link doesn't open in Safari, try Firefox).

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.

Please check this document for the list of known critical issues specific to Java 7 and 8 on Mac that prevent JetBrains from using these Java versions by default.

While Java 6 has known security issues and is EOL, these issues are most likely not exploitable when you are using Java 6 to run IntelliJ IDEA (and other IDEs based on this platform). Java 6 doesn't install browser plugin to run applets and it would be extremely hard (if not impossible) for the remote attacker to exploit it when it's used to run the IDE.

If you can't accept these (probably minimal) risks of running under Java 6, we recommend using the special IDE distribution with bundled Java 8 (still experimental). To obtain this version add -jdk-bundled to the file name. Since IDEA 14.1 the suffix has changed to -custom-jdk-bundled

Example:

  • http://download.jetbrains.com/idea/ideaIU-14.0.1.dmg (version that requires Java 6)
  • http://download.jetbrains.com/idea/ideaIU-14.0.1-jdk-bundled.dmg (version with bundled Java 8)

Please note, it's just an example and may link to an outdated version, please use the latest available version from the the downloads page, click Download, cancel the download, copy the direct link from the Thank you for downloading IntelliJ IDEA page and add -jdk-bundled (-custom-jdk-bundled since 14.1) to the file name. Use this version only if running under Java 6 is absolutely not an option for you, be aware of the known issues.


Or change asterisk to plus

<key>JVMVersion</key>
<string>1.6+</string>

The drawback is OS X will with each IDEA start ask you for network permission.

But Java 8 still have some bugs, especially on Retina devices and JetBrains still encourages to use Java 6 from Apple. Latest update working with IDEA on Yosemite is available here http://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US


I found that installing Java for OS X 2014-001 after upgrading to Yosemite has solved it for me.