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
use the default gradle wrapper
MODIFY default Boot JDK
RESTART intellij idea
IGNORE this popup at right-bottom on IDE
HOPE this solution is work for you .