如何定义哪些JRE IntelliJ IDEA应该用于在Windows上运行?
In the following post it was specified that the paths look up sequence is the following:
And indeed. Creating an IDEA_JDK environment variable did help.
More actual information including JDK64 setup is here :
<product>.exe
uses this JDK search sequence:
IDEA_JDK
/ WEBIDE_JDK
/ PYCHARM_JDK
/ RUBYMINE_JDK
environment variable (depends on the product, WEBIDE_JDK
applies to both WebStorm and PhpStorm) ..\\jre
directory Registry
JDK_HOME
environment variable JAVA_HOME
environment variable idea64.exe
uses this JDK search sequence:
IDEA_JDK_64
environment variable ..\\jre64
directory Registry
JDK_HOME
environment variable JAVA_HOME
environment variable It's also possible to start the IDE with <product>.bat
file located in the bin directory, it uses the following JDK search sequence:
IDEA_JDK
/ WEBIDE_JDK
/ PYCHARM_JDK
/ RUBYMINE_JDK
environment variable (depends on the product) ..\\jre
directory JDK_HOME
environment variable JAVA_HOME
environment variable Environment variable must point to the JDK installation home directory, for example:
c:\Program Files (x86)\Java\jdk1.7.0_17
/create-i4j-log
command line switch can be used with the .exe to trace the JDK search sequence and find out why the specific JDK was chosen. Help | About
Help | About
dialog (open any project to access the menu). IDEA_JDK
/ WEBIDE_JDK
/ PYCHARM_JDK
/ RUBYMINE_JDK
variable depending on the product to override the default version from IDE_HOME\\jre
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.