idea.exe running on Mustang JRE, using JDK 1.5

Hi,

How can I get IDEA to use an installation of Mustang as its JRE using idea.exe
and the idea.exe.vmoptions when the default JDK on the machine and the one
used for development is JDK5?

In essence I would like to be able to specify a parameter just like is possible in
idea.bat by specifying JDK_HOME.


Cheers,

Bonny

5 comments
Comment actions Permalink

Hello Bonny,

Since build 5622 idea.exe is a bit more tolerant to the runtime chosen. Basically
the runtime search sequence is as follows:

1. jdk specified by IDEA_JDK environment variable
2. ./jre folder under IDEA installation
3. Windows registry
4. JDK_HOME enviroment variable.

So for being able to run with Mustang you can define IDEA_JDK environment
variable to point to Mustang installation home

-


Maxim Shafirov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Hi,

How can I get IDEA to use an installation of Mustang as its JRE using
idea.exe and the idea.exe.vmoptions when the default JDK on the
machine and the one used for development is JDK5?

In essence I would like to be able to specify a parameter just like is
possible in idea.bat by specifying JDK_HOME.

Cheers,

Bonny



0
Comment actions Permalink

Maxim,

I think there's a problem in the search order since I've placed a copy of JRE6 in
the jre folder under IDEA home, but it does not find it and instead using the
registry to find jdk5.

Is idea.exe looking for the jre in \jre or ]]>\jre?

Cheers,

Bonny

0
Comment actions Permalink

Hello Bonny,

Ooops, my bad. idea.exe now set up to prevent beta jdks from being used.
So, I'm affraid, no matter what search sequence is provided 1.6 won't be
used by idea.exe

-


Maxim Shafirov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Maxim,

I think there's a problem in the search order since I've placed a copy
of JRE6 in the jre folder under IDEA home, but it does not find it and
instead using the registry to find jdk5.

Is idea.exe looking for the jre in <IDEA_HOME>\jre or <current
directory>\jre?

Cheers,

Bonny



0
Comment actions Permalink

Maxim,

I would be nice if you printed the build number and JDK version in the
IDEA splash screen. See attached for an example from another product.

IntelliJ splash screen should display build number and JDK version
http://www.jetbrains.net/jira/browse/IDEA-8994

-Alex



Attachment(s):
tws_860-9_splashscreen.png
5622_splash_screen.png
0
Comment actions Permalink

Maxim,

Thanks, I'll wait for a version that allows this and in the mean time I'll use the batch file.

Cheers,

Bonny

0

Please sign in to leave a comment.