为intelliJ设置JAVA_HOME? [英] Setting JAVA_HOME for intelliJ?
问题描述
所以我今天决定尝试 android studio 的测试版,但它拒绝在我的 32 位 JRE 上运行.我可以下载 64 位 JRE,但由于各种原因,我对它作为我的默认 JRE 不感兴趣(我目前的 32 位 Eclipse IDE、处理 IDE 和 Minecraft 不喜欢 64 位的我的经验),我认为一直切换 java_home 目录会很麻烦.
So i decided to try the beta of android studio today, but it refuses to run on my 32-bit JRE. I can download the 64-bit JRE, but im not interested in it being my default JRE for various reasons (my current 32-bit eclipse IDE, Processing IDE and Minecraft doesn't like 64-bit to my experiences), and i think that swithing java_home dir all the time will be cumbersome.
那么,intelliJ 有没有办法像 eclipse 在它的 ini 中那样设置一个替代的 JAVA_HOME 目录?
So does intelliJ have some way of setting an alternative JAVA_HOME dir like eclipse does in its ini?
推荐答案
我为此目的使用 IDEA_JDK(在 linux 上).
I use IDEA_JDK for this purpose (on linux).
我相信它是 android studio 的 STUDIO_JDK.
I believe it is STUDIO_JDK for android studio.
有关此和其他 jetbrains IDE 的更多信息,请参阅 https://intellij-support.jetbrains.com/hc/en-us/articles/206544879-Selecting-the-JDK-version-the-IDE-will-下运行
For more information on this and other jetbrains IDE's, see https://intellij-support.jetbrains.com/hc/en-us/articles/206544879-Selecting-the-JDK-version-the-IDE-will-run-under
这篇关于为intelliJ设置JAVA_HOME?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!