问题描述
我刚刚更新到 IntelliJ IDEA 16
,它附带 Java JDK 1.8
。 Fyi,我很久以前就已经下载了Java JDK 1.8。
I just updated to IntelliJ IDEA 16
which comes with Java JDK 1.8
. Fyi, I had downloaded Java JDK 1.8 a long time ago.
我试图运行我正在开发的插件,我甚至不能这样做,我得到以下内容错误消息(略微浓缩)
I tried to run my plugin that I am developing, and I cannot even do that, I get the following error message (slightly condensed)
不支持的Java版本:无法在Java 1.7.0_45-b18下启动:Java 1.8或以后是需要。
所以,我清楚地知道问题所在;但是,我似乎无法弄清楚解决这个问题的位置在哪里。
到目前为止,我已经尝试了很多东西;大多数情况下,请使用设置
中的搜索框,并尽可能将版本1.8切换到版本1.8。另外,我已经将我的环境变量
更新为Java从1.6到1.8
I have tried a lot of things so far; most involve using the search box in Settings
and switching whatever I could to version 1.8. Also, I had updated my Environment Variable
for Java from 1.6 to 1.8
通过所有这些更改,没有什么是加工!那么我该如何解决这个看似简单的问题呢?
With all of these changes, nothing is working! So how do I go about fixing this seemingly simple issue?
推荐答案
设置 IDEA_JDK
(或 IDEA_JDK_64
)环境变量。
检查下运行的JDK版本
Set IDEA_JDK
(or IDEA_JDK_64
) environment variable.
Check Selecting the JDK version the IDE will run under
这篇关于不支持的Java版本:无法在Java 1.7下启动:需要Java 1.8或更高版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!