In IntelliJ from snap I can't select openJDK 11 from apt-get
6,073
I have switched to Oracle's official JDK and now it's working fine.
Related videos on Youtube
Author by
Harold L. Brown
Updated on September 18, 2022Comments
-
Harold L. Brown over 1 year
I am using Ubuntu 18.10 64 bit.
I have installed IntelliJ IDEA 2018.3.1 via snap.
I have installed openJDK 11.0.1 with apt-get.
I now want to set openJDK as the SDK for IntelliJ.
However when I try to select
/usr/lib/jvm/java-11-openjdk-amd64
the errorThe selected directory is not a valid home for JDK
occurs.
But the directory exists and its
bin
folder contains thejava
executable.What am I doing wrong? Which other location could I try?