Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I see the javadoc for Sun-supplied classes?

classes Javadoc
0
Posted

How do I see the javadoc for Sun-supplied classes?

0

If you hover (don’t click) your mouse over the name of a method, you should see a simplified Javadoc explanation. If this doesn’t work for Sun-supplied methods, then you don’t have the source code installed. Here’s how to install the source code: • Go to http://java.sun.com/j2se/1.5.0/download.jsp and choose to download the JDK 5.0 Source Code (SCSL and JRL are just licenses; probably SCSL is best). • For JDK 5.0, select Download(SCSL source) . • Register. This is relatively painless, especially if you either ignore or enjoy reading license agreements. • Download JDK (SCSL) 5.0 (1.5.0). This will give you a file jdk-1_5_0-src.scsl.zip. Do not unzip this file; Eclipse likes it the way it is. • In Eclipse, go to Projects -> Properties -> Java Build Path -> Libraries and expand JRE System Library [jre 1.5.0], then expand rt.jar. Select Source attachment and click Edit…. • Navigate to the above zip file and select it. • Finish by exiting the dialog boxes.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123