[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Javadoc on hover disappeared!

Johs32 wrote:

"Daniel Megert" <daniel_megert@xxxxxxxxxx> skrev i en meddelelse news:eaq8o5$sis$3@xxxxxxxxxxxxxxxxxxxx


pop wrote:



"Mihai Cazac" <mishu@xxxxxxxxxx> skrev i en meddelelse news:1154494363.175968@xxxxxxxxxxxxxxxx



1. You need jdk-1_5_0-doc.zip and src.zip; If you don't have them,
download them from sun's site http://java.sun.com/j2se/1.5.0/download.jsp
2. Eclipse: Windows -> Preferences -> Java -> Installed JRE's , check
and select jre1.5.0_06 press Edit... and the "Edit JRE" window pops up.
3. In the "Edit JRE" window uncheck "Use default system libraries"
4. In the list expand the "rt.jar" entry
5. Select "Source attachement" , press Edit and enter the full path to
the "src.zip" file (eg: C:/Program Files/Java/jdk1.5.0_06/src.zip )
6. Select "Javadoc location", press Edit and enter the full path to the
"jdk-1_5_0-doc.zip" file


To see a simplified Javadoc explanation when you hover your mouse over a class/method you need only the source code to be installed (that is src.zip). Of course, if you install Javadoc too, as described above, you can get more detailed using SHIFT+F2.



But I only use java 1.4.2_08



Simply replace the version in above steps with 1.4




I can find .src files for 1.4.2_08 but the doc.zip seems to only be available for 1.5

Doc is also available somewhere but in fact not very needed for the hover support: simply attach the source and you're fine.

Dani