Setting JAVA_HOME for intelliJ?

前端 未结 3 672
没有蜡笔的小新
没有蜡笔的小新 2020-12-09 15:56

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

3条回答
  •  被撕碎了的回忆
    2020-12-09 16:13

    In IntelliJ you can specify which SDK to use at project level. go to "File" --> "Project Structure" --> SDKs (list on the left) and you can add/remove paths to different SDKs

    Other solution: If you use Windows then I think you can specify JAVA_HOME as system property just for IntelliJ. If you use Linux the solution is similar.

提交回复
热议问题