IntelliJ/Gradle Could not determine java version from '11.0.1'

后端 未结 8 828
Happy的楠姐
Happy的楠姐 2020-12-09 09:18

I\'m running a Linux Ubuntu 18 OS. Installed jdk in a custom local directory.

Normally, IntelliJ recommends that you use the default gradle wrapper. But

相关标签:
8条回答
  • 2020-12-09 09:56

    I recently upgraded my Ubantu to 18 from 16. After that I am facing this issue. Problem was during ubantu upgrade java is automatically upgraded to 11 from 8. Hence getting this error. You can simply downgrade jdk using this to solve this. Works for me.

    0 讨论(0)
  • 2020-12-09 09:56

    MODIFY default Boot JDK

    1. OPEN the Action Dialog

    1. SEARCH : switch boot jdk

    1. SELECT the JDK installed by you rather than the intellij default

    1. RESTART intellij idea

    2. IGNORE this popup at right-bottom on IDE

    HOPE this solution is work for you .

    0 讨论(0)
提交回复
热议问题