I have install Java 8 EA on my Window 7, but it\'s neither in my %JAVA_HOME%
nor in the %PATH%
. However when I start my IntelliJ IDEA v12 by clicking <
You can add an additional environment variable called IDEA_JDK to target the specific JDK that you want Intellij to use.
Here is the available options that you can use for all the different operating systems. If you are interested.
http://intellij-support.jetbrains.com/entries/23455956-Selecting-the-JDK-version-the-IDE-will-run-under
It was picked from the registry.
When launched from .exe IDEA looks for Java in a following order:
When launched from .bat the order is same but registry isn't looked, and 64-suffixed vars aren't used (what is probably a bug).