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
Please sign in to leave a comment.
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!"
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
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 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
Maxim,
Thanks, I'll wait for a version that allows this and in the mean time I'll use the batch file.
Cheers,
Bonny