Fix - Project JDK is misconfigured in IntelliJ


IntelliJ - Project JDK is misconfigured

If you are using IDEA IntelliJ IDE for your Java project and you see an error message that says "Project JDK is misconfigured in IntelliJ" then you can fix this by following the below steps.

  1. Click on Setup SDK button you see next to the error.
  2. Now select one of the JDK that you want to make use of for your Project from the list.
    Setup SDK
  3. If you do not see any SDK, click on Add SDK and download one of the Java JDKs.

Once the SDK is downloaded and set, the error must go away and you should be able to run your Java programs.


This is not an AI-generated article but is demonstrated by a human on IntelliJ 2023.2.2 (Ultimate Edition) on a M1 Mac running macOS Sonoma 14.0.

Please support independent contributors like Code2care by donating a coffee.

Buy me a coffee!

Buy Code2care a Coffee!

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org

Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap