Search code examples
javaeclipsejavadoc

No javadoc in eclipse when trying to see documentation of any resource


I have this two erros when trying to see some method documentation or anything else of java.

Note: This element has no attached source and the Javadoc could not be found in the attached Javadoc. Note: An exception occurred while getting the Javadoc. See log for details.

It's the first time that happens.

Thanks


Solution

  • Try going to settings and point out the installed JDK folder like this ,

    Window->Preference->search for 'Jre'in the search field , choose Installed JRE's->Edit and change the setting to point to your JDK folder instead of JRE , it worked for me .

    enter image description here