Using Java 7 to run IntelliJ for Mac

What is the easiest way to launch IntelliJ for Mac to use Java 7?
(Note: I don't mean compiling an application using Java 7 as the JDK, but I mean actually using Java 7 to run IntelliJ for mac.)
OS: OS X Lion 10.7.3

11 comments
Comment actions Permalink

Why do you need this? At the moment this is not a supported configuration.

0
Comment actions Permalink

Dmitry,

That's fine. I don't really need this. Probably the only reason is that when I run other applications on Java 7, they appear to be faster, so I thought IntelliJ will become even faster! It is not very important anyway.

However, I'm writing an app using Java 7 and it seems that it can compile, thought I have not deployed it yet.

Cheers,

Kevin.

0
Comment actions Permalink

Oracle/OpenJDK have released the latest EA version of the Java 7 jdk/jre for the Mac on April 23rd.  Will IDEA (and AppCode )run with this version of the the JDK/JRE?.

0
Comment actions Permalink

This is still not a supported configuration (running IntelliJ IDEA on any EA release of the JDK is not supported, as a rule). You're welcome to try it youself and see if it works for you.

0
Comment actions Permalink

And just that quickly 7u4 is out for OS/X - http://www.oracle.com/technetwork/java/javase/downloads/index.html

Java 7 is officially out and supported on OS/X.

0
Comment actions Permalink

OK So at the risk of sounding stupid... Now that Java 7u4 is out on Mac, would there be any benefit if Intellij used java 7 to run?

Like others I've set it as a jdk inside the ide and use it to compile code, I just wonder if the improvements to the VM would mean an even faster IDE.

0
Comment actions Permalink

I am looking for the same thing. I am wondering how to run the IDE using Java SE 7 in mac os. Even if it is not a supported combination, know how to change the JDK used to launch the IDE is good :)

0
Comment actions Permalink

I'd also like some information from Jetbrains on how to test with the 1.7 JDK. I have it installed and I have it set as my default JDK in the Java Preferences. Unfortunately, IntelliJ still starts with JDK 1.6. I also set the JVMVersion in my Info.plist file to 1.7 and 1.7*, neither worked. It failed to start with that setting in the Info.plist file.

Grant

0
Comment actions Permalink

The latest Mac distribution 11.1.1 does not include an idea.sh. Is that an oversight since I remember the shell script being available in past versions?

Grant

0
Comment actions Permalink

Is there any chance this can be supported soon?
I would like to be able to run the Checkstyle-IDEA plugin with a custom rule that is built with Java 7

Java 7u40 is now available which supports the Retina-Display on OSX.

0

Please sign in to leave a comment.