7

I have installed Java 8 to my IntelliJ Idea. I have added path to jdk in Idea. And when I start my project I see that message:

no idea annotations attached to the jdk enter image description here

What I need to do to fix that?

Stefan Zobel
  • 3,182
  • 7
  • 28
  • 38
Felay
  • 221
  • 3
  • 8

1 Answers1

0

I had the same question.

The solution is somewhat obvious, just click on the banner and the message would go away. But of course, we want to know what does this do. Someone already asked this in the intelliJ community:

It adds jdkAnnotations.jar to the JDK configuration

This JAR provides external annotations for JDK methods. Magic Constant is one of the inspections using these annotations

https://intellij-support.jetbrains.com/hc/en-us/community/posts/360002764859-No-IDEA-Annotations-attached-to-the-JDK-1-8-Some-Issues-Will-Not-be-Found

Unfortunately, I was unable to find out where that can be manually added (or at least reviewed) in a newer version of intelliJ

emilpmp
  • 1,716
  • 17
  • 32
JACH
  • 996
  • 11
  • 20