8

When I try to navigate in NetBeans to some JDK source code it only shows that it's compiled code and the source code is missing and I can attach it. After attaching the source with the "Attach.." button nothing happens? Where should I attach the source code?

Tombart
  • 30,520
  • 16
  • 123
  • 136

1 Answers1

12

Tools->JavaPlatforms->JSE{choose your jdk}->source tab->Add jar/folder {chose src.zip from installed JDK path.}

Sergii Zagriichuk
  • 5,389
  • 5
  • 28
  • 45