Question: I upgraded my OS X to Yosemite and now my IntelliJ IDE is not starting.

Here is the error message:

> 
> To open “IntelliJ IDEA” you need to install the legacy Java SE 6 runtime.
> 
> 
>

Answer: 
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](http://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US)
I found that installing [Java for OS X 2014-001](http://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US) after upgrading to Yosemite has solved it for me.