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
  • 28,254
  • 15
  • 118
  • 125

1 Answers1

12

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

Sergii Zagriichuk
  • 5,369
  • 5
  • 24
  • 45