Idea logo

The IntelliJ IDEA Blog

The Capable & Ergonomic Java IDE by JetBrains

Early Access Program Features

IntelliJ IDEA 13 EAP 132.325 and Retina support in JDK 7

Good news, everyone!

With the latest IntelliJ IDEA 13 EAP build the IDE is almost compatible with Java 7 on Retina devices. That means you can safely switch from Apple JDK 1.6 to Oracle JDK 1.7 on your Macs. The latest build of JDK 7 (1.7.0_40) has many fixes for Retina devices, better fonts rendering, AWT subsystem and more. To switch to Oracle JDK 7 on Mac you need to download and install the latest JDK After that you need to edit /Applications/IntelliJ IDEA XXX.app/Contents/Info.plist file. Then change JVMVersion from 1.6* to 1.7*

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

The detailed instruction how to run IntelliJ IDEA under JRE 7 on different platforms can be found here. Window version of IntelliJ IDEA is already bundled with JRE 1.7.0_40.

Download and play with the latest EAP 132.235

Comments below can no longer be edited.

32 Responses to IntelliJ IDEA 13 EAP 132.325 and Retina support in JDK 7

  1. Avatar

    Jarek says:

    September 21, 2013

    Fonts are still messed up under retina display, especially around the end of the word, here’s the example of Source Code Pro font and retina display: http://i.imgur.com/kOMO8nx.png When I change 12.1.4 to run on JDK 1.7_040 the same thing happens.

    cheers
    JK

  2. Avatar

    Vladimir says:

    September 21, 2013

    Konstantin, latest EAP is 132.325 – think you consed numbers.

    • Avatar

      Konstantin Bulenkov says:

      September 21, 2013

      Thanks! Fixed

  3. Avatar

    Sergey Belov says:

    September 21, 2013

    This build do not open existing projects

    • Avatar

      Michael Grove says:

      July 10, 2014

      This still seems to be the case. Kind of disappointed in Jetbrains for the first time.

  4. Avatar

    abc says:

    September 21, 2013

    132.325, not 132.235.

  5. Avatar

    Arik Kfir says:

    September 21, 2013

    That’s great news for Mac users.

    What about compatibility with OpenJDK? While OpenJDK 6.x was indeed horribly, the OpenJDK 7.x seems almost on par with Oracle JDK 7.x. Are you planning on the IDE to be compatible with OpenJDK? If so, when? If not, why?

    Thanks for a great product and keep up the great work!

  6. Avatar

    Ron says:

    October 9, 2013

    A fresh OS X install still needs Apple’s JVM (Java6) to be installed before IntelliJ IDEA 132.55 will launch, even after modifying the Info.plist. 🙁

    • Avatar

      Konstantin Bulenkov says:

      October 9, 2013

      Could you please run “/usr/libexec/java_home -V” in Terminal and share output?

      • Avatar

        Flemming says:

        October 23, 2013

        I had the exact same experience as Ron.
        I have upgraded my macbook to final release of Mavericks last night.

        The upgrade uninstalled Apple JDK 6 – but left my Oracle JDK1.7u45 as the only jdk on the machine.

        Even though I changed Info.plist to 1.7* in the JVMVersion I got this output when trying to launch Idea:
        frj@frj-mbp-3:/Applications/IntelliJ IDEA 13 EAP.app $ Contents/MacOS/idea
        No Java runtime present, requesting install.

        Before I came here I had already chosen to install Apple Java 1.6 so I cannot give you the output of java_home -V but I did run java_home -v1.6 which told me that there was no 1.6 version on my system after the Mavericks upgrade.


        frj@frj-mbp-3:~ $ cat /Applications/IntelliJ\ IDEA\ 13\ EAP.app/Contents/Info.plist | grep JVMVersion -A1
        JVMVersion
        1.7*


        frj@frj-mbp-3:~ $ /usr/libexec/java_home -v1.7
        /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home


        frj@frj-mbp-3:~ $ /usr/libexec/java_home -v1.6
        /Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents/Home


        frj@frj-mbp-3:~ $ /usr/libexec/java_home -V
        Matching Java Virtual Machines (4):
        1.7.0_45, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home
        1.7.0_40, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home
        1.6.0_65-b14-462, x86_64: "Java SE 6" /Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents/Home
        1.6.0_65-b14-462, i386: "Java SE 6" /Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents/Home

        /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home

        • Avatar

          Mugz says:

          October 24, 2013

          I too had the same experience. It seems like an apple JDK was required to be around. After adding that the IDE started.

      • Avatar

        Andreas Gerlach says:

        October 24, 2013

        Same as Flemming here: after upgrading to OS X Mavericks it removed the old Apple JVM 1.6 but leaves the Oracle JVM 1.7 intact.

        Calling /usr/libexec/java_home -V results in:

        $ /usr/libexec/java_home -V
        Matching Java Virtual Machines (1):
        1.7.0_45, x86_64: “Java SE 7” /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home

        /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home

        Have changed the plist already but everytime I try to start Intellij (or WebStorm 7) it ask me to download and install Apple JVM 1.6.

        Is there a way to start the tools via shell-script like on Linux?

      • Avatar

        Theo says:

        October 24, 2013

        theo@t:~$ /usr/libexec/java_home -V
        Matching Java Virtual Machines (1):
        1.7.0_40, x86_64: “Java SE 7” /Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home

        /Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home

    • Avatar

      Matt C says:

      October 23, 2013

      Mavericks install nukes Java 6, so even Intellij 12.x won’t start. Reinstall J6 here:
      http://support.apple.com/kb/DL1572

  7. Avatar

    Marco A. says:

    October 31, 2013

    Yes I understand that Mavericks deletes previous java installs, but this doesn’t answer the question: how do I make sure intellij13 will work on java7 on a mac? We had this problem for quite a long time on the launcher for 12. I hoped that 13 would adopt a different (and so they said) brand new launcher. There is a very thorough explanation here:

    http://stackoverflow.com/questions/14806709/application-is-using-java-6-from-apple-instead-of-java-7-from-oracle-on-mac-os-x (not mine).

  8. Avatar

    Jeroen says:

    November 1, 2013

    Unfortunately the Info.plist has been code signed. This makes OS/X go into paranoid mode whenever you change it. Symptoms include not remembering firewall access or credentials (try svn updating after a restart). Jetbrains… please provide a proper solution!

    Meanwhile the quick and dirty solution is to resign the app with a self signed local cert:

    – In Keychain Access generate a new certificate (Certificate assistant -> Create a certificate…)
    – Choose ‘Code Signing’ in the ‘Certificate Type’ drop down menu
    – The rest does not matter so much (next, next done)
    – Save it in your login keychain

    Copy the CN of the new certificate
    Then on the command line issue the following command (modify it for your situation) codesign –deep -f -s “Your CN” /Applications/IntelliJ\ IDEA\ 13\ EAP.app/

    Intellij will work as expected

    • Avatar

      Oleksii says:

      November 15, 2013

      I have security settings on my maveriks set to Allow apps downloaded from = “Anywhere” and don’t have any complains from OS.

    • Avatar

      Markus says:

      December 30, 2013

      Yes. This code signing issue is annoying.
      Maybe it would be a solution to allow “JVMOptions” to be set in ~/Library/Preferences/com.jetbrains.pycharm.plist
      Setting Gatekeeper to “Allow apps downloaded from” to “Anywhere” can’t be a final solution.

  9. Avatar

    Brad Porter says:

    December 3, 2013

    I still have the font problem with JDK7 on IDEA 13-EAP.

    I downloaded the Nov 28 EA version of JDK-8 and modified the Info.plist file to 1.8* for java version.
    The font issue appears to be fixed so far. IDEA warned not to use EA versions of Java, but I just wanted to see if it would launch, and if the font was fixed. Yes and yes. 🙂

  10. IntelliJ IDEA 13, Java EE 7 and WildFly (Tech Tip #4) | Miles to go 2.0 … says:

    December 5, 2013

    […] note, IDEA 13 still requires JDK 6 for retina display although there is a hack available for JDK 7. Be Sociable, Share! Tweet Related […]

  11. Avatar

    Rich says:

    December 20, 2013

    Same issue with font issue with IDEA 13 release on a retina MBP. The way I “solve” it is to change my font size on my theme from Menlo 14 to Menlo 12.

  12. Avatar

    Holger says:

    February 19, 2014

    Same issue. After I change to jdk7 or 8 the font doesn’t fit and I can’t zoom with the touchpad anymore. Right now I don’t see the possibility to change to jdk7 or 8.

  13. Avatar

    Jason says:

    March 4, 2014

    Can I safely make this change on IntelliJ IDEA 12? or is it only for the bleeding edge?

  14. Avatar

    Beto says:

    March 27, 2014

    I noticed this problem using the “Source Code Pro” packaged within IntelliJ 13.1 and setting it to 14pt. I thought it was related to JDK 7 or JDK 8. However I solved it by downloading and installing the latest TTFs from Adobe: http://store1.adobe.com/cfusion/store/html/index.cfm?event=displayFontPackage&code=1960

    Now it’s rendered perfectly.

  15. Avatar

    Ian says:

    April 17, 2014

    I’m confused – here you say that JDK 7 is NOT supported with Intellij 13 but above you say it is? I’m getting the attached is, hence the reason I ask – http://youtrack.jetbrains.com/issue/IDEA-99434

  16. Avatar

    Aaron Mulder says:

    October 18, 2014

    For what it’s worth, I was able to edit the plist but got the “this application is damaged and should be moved to the trash” error. The options seem to be to allow all applications to run, or else to run this command:

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

  17. Intellij IDEA 13 on MacOS with JDK 1.7 | Ilya Sorokoumov's blog says:

    November 11, 2014

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

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

    November 30, 2014

    […] with IDEA not saving passwords for SVN, you may also try the solution mentioned in the comments here by Jeroen which requires generating a new cert and signing IDEA’s app with […]

  19. Avatar

    Joe says:

    January 3, 2015

    +1 to Ian’s comment. I’m not sure why this blog post even exists considering you officially don’t support Java 7 on OSX. I’ve tried for maybe 6 months to deal with random crashes based on this posting but in the end gave up and installed Java 6 on my MBP just for IntelliJ. Its pretty disappointing IntelliJ can’t work with Oracle to fix whatever problems exist. with Java 7+.

    What would be better news than Retina “support” is that you officially Support Java 7+.

Discover more