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

后端 未结 8 826
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条回答
  •  Happy的楠姐
    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.

提交回复
热议问题