[英]Specify JRE for IntelliJ Idea on Windows
如何定义哪些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.
创建IDEA_JDK环境变量确实有帮助。
More actual information including JDK64 setup is here : 包括JDK64设置更多实际信息是在这里 :
<product>.exe
uses this JDK search sequence: <product>.exe
使用此JDK搜索序列:
IDEA_JDK
/ WEBIDE_JDK
/ PYCHARM_JDK
/ RUBYMINE_JDK
environment variable (depends on the product, WEBIDE_JDK
applies to both WebStorm and PhpStorm) IDEA_JDK
/ WEBIDE_JDK
/ PYCHARM_JDK
/ RUBYMINE_JDK
环境变量(取决于产品, WEBIDE_JDK
适用于WebStorm和PhpStorm) ..\\jre
directory ..\\jre
目录 Registry
Registry
JDK_HOME
environment variable JDK_HOME
环境变量 JAVA_HOME
environment variable JAVA_HOME
环境变量 idea64.exe
uses this JDK search sequence: idea64.exe
使用此JDK搜索序列:
IDEA_JDK_64
environment variable IDEA_JDK_64
环境变量 ..\\jre64
directory ..\\jre64
目录 Registry
Registry
JDK_HOME
environment variable JDK_HOME
环境变量 JAVA_HOME
environment variable JAVA_HOME
环境变量 It's also possible to start the IDE with <product>.bat
file located in the bin directory, it uses the following JDK search sequence: 也可以使用位于bin目录中的
<product>.bat
文件启动IDE,它使用以下JDK搜索序列:
IDEA_JDK
/ WEBIDE_JDK
/ PYCHARM_JDK
/ RUBYMINE_JDK
environment variable (depends on the product) IDEA_JDK
/ WEBIDE_JDK
/ PYCHARM_JDK
/ RUBYMINE_JDK
环境变量(取决于产品) ..\\jre
directory ..\\jre
目录 JDK_HOME
environment variable JDK_HOME
环境变量 JAVA_HOME
environment variable JAVA_HOME
环境变量 Environment variable must point to the JDK installation home directory, for example: 环境变量必须指向JDK安装主目录,例如:
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. /create-i4j-log
命令行开关可以与.exe一起使用来跟踪JDK搜索序列并找出选择特定JDK的原因。 Help | About
Help | About
验证IDE使用的实际JDK版本 Help | About
dialog (open any project to access the menu). Help | About
对话框(打开任何访问菜单的项目)。 IDEA_JDK
/ WEBIDE_JDK
/ PYCHARM_JDK
/ RUBYMINE_JDK
variable depending on the product to override the default version from IDE_HOME\\jre
. IDEA_JDK
/ WEBIDE_JDK
/ PYCHARM_JDK
/ RUBYMINE_JDK
变量以覆盖IDE_HOME\\jre
的默认版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.