Intellij Idea Not Able to Detect Java Jdk Path

I have openjdk 11.0.4.1 Installed In my System

I'm trying to do development in java using IntellijIDEA IDE of Jetbrains. Whenever I try to start a new JAVA project I see no SDK in SDK path.

So, naturally I tried to add my exisiting installation of JAVA to IntellijIdea.

  • I navigated to the folder /usr/lib/jvm.
  • Selected the folder java-11-openjdk-amd64 which was inside it.
  • After I press OK This error pops up telling me this is a JRE not a JDK.

Please help me finding the correct location of JDK in my system..

3
Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article