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.
Note: An exception occurred while getting the Javadoc. See log for details.-eclipse
If you follow that link, you will notice that it is a redirect to a non-javadoc page. –
Yearn
Install the 'Eclipse SDK' if you want source and JavaDoc for everything in Eclipse. The update site for this is download.eclipse.org/eclipse/updates/4.4 for Eclipse Luna –
Accrue
@Accrue Will it install the java docs for SWT external jar too? –
Fecit
No, but SWT is included in Eclipse. –
Accrue
@Accrue - but I wan to set the docs for SWT. How to do that? –
Fecit
Thanks a lot greg. I Installed the 'Eclipse SDK' via download.eclipse.org/eclipse/updates/4.4 and now it is ok. I see all the java doc support when I take my mouse over.. So does that "Eclipse SDK" download all the documentation for new plugins I added to eclipse? –
Fecit
In Eclipse do the following:
- Go to Windows -> Preferences.
- Click Installed JREs.
- Click Add.
- Select Standard VM.
- Click Next.
- Click Directory
- Choose your Sun JDK folder.
- Click Finish.
- Tick your Sun JDK folder from the list.
- Click OK.
- Restart Eclipse.
Problem solved!
Another step was needed for me. After the above do: Project, Preferences, Java Build Path, then scroll down to JRE System Library and change that to the one you specified above. –
Cyrillus
Chris' step didn't work for me. What I did was, under Windows > Preferences > Installed JREs -> Execution Environment -> Pick the Execution Environment your project is using -> Compatible JREs -> set JDK as default (instead of JRE) –
Springlet
© 2022 - 2024 — McMap. All rights reserved.