IntelliJ IDEA无法设置JDK [英] IntelliJ IDEA can't setup JDK

查看:636
本文介绍了IntelliJ IDEA无法设置JDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在IntelliJ IDEA中设置JDK,无论我做什么,或者我选择的任何JDK版本,都没有任何反应。以下情况仍然存在:

I'm trying to setup JDK in IntelliJ IDEA and whatever I do, or whatever JDK version I select, nothing happens. The following situation remains:

所以我告诉IDEA它应该使用什么JDK,但它仍然要求我设置一个JDK。这是一个错误还是我错过了什么?我可以应用任何解决方法使一切正常吗?

So I told IDEA what JDK it should use, but it still asks me to setup a JDK. Is this a bug or am I missing something? Can I apply any workaround to make everything work as usual?

我在设置之前设置JDK的步骤:
情况:

The steps which I go through setting up the JDK: situation before setting up:

第一步:

the first step:

第二步:

the second step:

第三步:

the third step:

设置JDK后的情况:

the situation after setting up JDK:

SDKs:

SDKs:

模块设置:

module settings:

推荐答案

文件 | 无效缓存是您在遇到此类问题时应该尝试的第一件事。

File | Invalidate Caches is the first thing you should try in case of such issues.

这篇关于IntelliJ IDEA无法设置JDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆