idea一直提示setup jdk,IntelliJ IDEA无法设置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:

0a52c69a36222c40dd5d45ba04efe559.png

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?

ADDITION

The steps which I go through setting up the JDK:

situation before setting up:

2613ba19a9906b30e4da12504ca54013.png

the first step:

xi8gQ.png

the second step:

34fdef5d13c448e8bbaa5f0a61c12909.png

the third step:

42001f9d4a59eb61876d077e5b06833c.png

the situation after setting up JDK:

c79f64dea38897269a3ff8b0e1398872.png

SDKs:

2377055d8fc9908d663bd93e1e437e16.png

module settings:

cc0b1a4213162cbb26e2453c3ca8d769.png

解决方案

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

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值