Skip to content

Instantly share code, notes, and snippets.

@mpalourdio
Last active September 26, 2025 15:58
Show Gist options
  • Save mpalourdio/fb7047b74983c728cbc73560ed46312b to your computer and use it in GitHub Desktop.
Save mpalourdio/fb7047b74983c728cbc73560ed46312b to your computer and use it in GitHub Desktop.
Supertypes of the following classes cannot be resolved - WTF Intellij

If for some random reasons, after a JDK update from SDKman, all kotlin projects fail to compile/run in Intellij, double check that the JDK has the correct path in ~/.config/JetBrains/IntelliJIdeaXXXX.x/options/jdk.table.xml

If you use settings-repository plugin, the file to edit might be ~/.config/JetBrains/IntelliJIdea2025.2/settingsRepository/repository/jdk.table.xml

  • shutdown intellij
  • Edit this file with the correct path
  • Enjoy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment