Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to attach missing java JDK sources in Netbeans 7

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?

like image 337
Tombart Avatar asked Jun 17 '12 12:06

Tombart


1 Answers

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

like image 110
Sergii Zagriichuk Avatar answered Sep 20 '22 18:09

Sergii Zagriichuk