Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Note: An exception occurred while getting the Javadoc. See log for details.-eclipse

I added java doc location for the SWT (org.eclipse.swt.gtk.linux.x86_64_3.102.1.v20140206-1358.jar) as "http://help.eclipse.org/stable/nftopic/org.eclipse.platform.doc.isv/reference/api/" but after that, when I move the mouse pointer to a SWT class name or method name on the editor, it popups above message. How to solve that and get the actual java doc details.

like image 501
Samitha Chathuranga Avatar asked Aug 21 '14 17:08

Samitha Chathuranga


1 Answers

In Eclipse do the following:

  1. Go to Windows -> Preferences.
  2. Click Installed JREs.
  3. Click Add.
  4. Select Standard VM.
  5. Click Next.
  6. Click Directory
  7. Choose your Sun JDK folder.
  8. Click Finish.
  9. Tick your Sun JDK folder from the list.
  10. Click OK.
  11. Restart Eclipse.

Problem solved!

like image 187
Kaushal Shah Avatar answered Nov 12 '22 16:11

Kaushal Shah