IntelliJ IDEA 13 on MacOS with JDK 1.7

When I first installed Intellij IDEA on my Mac, I immediately faced a problem that by default Intellij for Mac requires to be run on JDK 1.6.

Thus, in order to make it work on JDK 1.7 which I installed prior to downloading Intellij, I had to edit /Applications/IntelliJ\ IDEA\ 13.app/Contents/Info.plist and change JVMVersion from 1.6* to 1.7*.

This solution worked for me fine up until I realized that something was wrong with SVN support which required to re-enter the password every time IDEA was restarted. I’ve checked quite a few sources to find a solution to this problem and it turned out that editing plist file breaks code signature and MacOS starts acting suspicious of the app, hence not allowing it to access Keychain.

The solution for the latter problem is the following command which solves the problem entirely:

sudo codesign -f -s – /Applications/IntelliJ\ IDEA\ 13.app

So, the final solution looks like this:

1) download and install IDEA

2) update Info.plist so that it works with JDK 1.7

3) sign IntelliJ IDEA xx.app back by coding

P.S. Tested on MBP with MacOS Yosemite

P.S.S. Most of this info can be found here: http://blog.jetbrains.com/idea/2013/09/jdk7_compatibility/

Advertisements

One thought on “IntelliJ IDEA 13 on MacOS with JDK 1.7

  1. Pingback: Mac OS, IntelliJ IDEA 14, SVN and GIT and JDK 1.7 | Ilya Sorokoumov's blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s