I don´t understand exactly why when you try to install IntelliJ IDEA in a Windows System or a Linux System the requirements say something like “JDK 1.6 or higher“, but when you try to install it in a Mac OS X System, it says “Java 6“. I guess it is something related with Apple and Oracle licenses and support but I am not sure.
In any case, it is clear that Java / Scala developers want to install the IDE with the latests JDK version. Probably, there are a lot of solutions, but the one that I am going to explain has work for me and it is pretty simple:
- Download the latest version of IntelliJ IDEA (in my case, I have downloaded the community edition)
- Install it in your system. Copy to your Applications folder.
- Click with the secondary button in the file IntelliJ IDEA 14 CE.app and select Show package content.
- Edit the file Contents/Info.plist.
- Find the section with the key JVMVersion.
- Replace 1.6* with 1.8* (1.7* if you are using JDK 7)
That’s all. Now you can run IntelliJ IDEA with your installed JDK without the need to install the JDK 6.
Update: In the IntelliJ IDEA supports page, there is a thread about all of this, you can find it here. Thanks to Trisha Gee for her quick answer through twitter.