Selected directory is not a valid home for JDK – Intellij IDEA on Ubuntu

I had the same problem, in my case I wasn’t able to select any of the “openjdk” directories under /usr/lib/jvm/, I solved with:

sudo apt-get install openjdk-8-jdk

When restarting intellij it will find the path to the jdk automatically.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)