Friday, November 12, 2021

[SOLVED] IntelliJ IDEA cant find JDK directory

Issue

I am trying to set up ItelliJ IDEA with JDK 11 on Linux Mint. I can see the jdk exists in the folder /usr/lib/jvm however IDEA cannot see this directory in the SDK configure module and returns Specified path cannot be found.

proof jvm folder exists

enter image description here

IDEA not showing multiple folders inside /usr/lib

IDEA JDK interface

enter image description here


Solution

Download the tar.gz distribution from here. Extract it to a location on your system then CD into the bin folder and launch using ./idea.sh



Answered By - DMellon