Android Studio始终使用JDK 7,并且不切换到JDK 8

问题描述:

我遇到了一些有趣的问题.

I have encountered some interesting problem.

当我尝试通过单击文件->项目结构-> SDK位置来更改JDK :

When I try to change JDK by clicking to File -> Project Structure -> SDK Location:

我将其更改为新版本:

然后我点击确定,然后再次打开此页面,它向我显示了此信息:

Then I click OK then open this page again, it shows me this:

为什么不想更改JDK ?!甚至我的PATH都设置为JDK 8

Why does not want to change JDK?! Even my PATH is set to JDK 8

我的Android Studio版本是2.1.1

My version of Android studio is 2.1.1

看看这些答案,我认为它将对您非常有用:

Take a look to these answer i think that it will be very useful for you :

查看全文