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*

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

This entry was posted in EAP Releases, New Features and tagged , . Bookmark the permalink.

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

  1. Jarek says:

    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. Vladimir says:

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

  3. Sergey Belov says:

    This build do not open existing projects

  4. abc says:

    132.325, not 132.235.

  5. Arik Kfir says:

    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. Ron says:

    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. :(

    • Konstantin Bulenkov says:

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

      • Flemming says:

        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

        • Mugz says:

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

      • Andreas Gerlach says:

        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?

      • Theo says:

        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

    • Matt C says:

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

  7. Marco A. says:

    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. Jeroen says:

    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

    • Oleksii says:

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

    • Markus says:

      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. Brad Porter says:

    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. Pingback: IntelliJ IDEA 13, Java EE 7 and WildFly (Tech Tip #4) | Miles to go 2.0 …

  11. Rich says:

    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. Holger says:

    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. Jason says:

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

  14. Beto says:

    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. Ian says:

    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. Aaron Mulder says:

    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. Pingback: Intellij IDEA 13 on MacOS with JDK 1.7 | Ilya Sorokoumov's blog

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

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">