I downloaded a recent copy of IntelliJ, only to discover when I went to open it, OS Yosemite indicated I had no version of Java installed, and that I’d need to install an old version. The “More Info…” button took me to this page: http://support.apple.com/kb/DL1572
…which didn’t load. (UPDATE: This fixed the load issue.) Similar detailed install directions also ended up at the same broken page.
So, I attempted to download Java 8 directly from Oracle and install install it. The install worked fine, but IntelliJ 14 still did not open. Same error message.
Here’s how I solved it. Hop into terminal and do this:
$ cd "/Applications/IntelliJ IDEA 14.app/Contents" $ cp Info.plist Info.plist-orig $ vi Info.plist # ... any text editor will do
Find the line that says
and change it to
. Save your file, and now go open IntelliJ as normal.
This causes IntelliJ 14 to use Java JDK 8, and all is right with the world.