Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netbeans says javadocs not found

I have some problems with Netbeans IDE. I installed v. 7.0.1, but now the pop-up windows of the javadoc say:

Javadoc not found. Either Javadoc documentation for this item does not exist or 
you have not added specified Javadoc in the Java Platform Manager or the Library 
Manager.

Why didn't it auto-download the JavaDocs? I'm talking about component, method etc etc.. of Java Platform SE.

like image 912
sephiroth Avatar asked Dec 14 '11 12:12

sephiroth


2 Answers

Go to Tools -> Java Platforms

Select the platform that you want and go to the javadoc tab and the url to the javadocs. either http://docs.oracle.com/javase/6/docs/api/ or http://docs.oracle.com/javase/7/docs/api/

enter image description here

like image 184
Tim Sparg Avatar answered Oct 10 '22 20:10

Tim Sparg


I believe JDK include javadoc in it But something went wrong either at the time of installation or later. So I solved this issue using these steps:
Goto

Tools >> Analyze Javadoc  

An Analyzer tab will appear with the method/s that you defined and have no javadoc.
Select its checkbox and Fix Selected Button will enable press that button and problem is now gone.
In my case removeAllRows() is the method that has no javadoc.
For further check this imageenter image description here

.
It does not create missing javadoc for your own methods But also fix javadoc for predefined methods.
If this does not solve your problem than you should try adding javadoc manually.

like image 39
Inzimam Tariq IT Avatar answered Oct 10 '22 20:10

Inzimam Tariq IT