JDK API [message #71189] |
Tue, 01 July 2003 18:44  |
Eclipse User |
|
|
|
Originally posted by: haricharanm.hotmail.com
Hi!
I was trying to find a way to add Java API to Eclipse. I couldn't do that.
I wonder if anyone could help me add J2SDK1.4 API to Eclipse so that I can
get online help regarding packages, classes, and methods to be used in my
code.
Thankyou
Regards
Haricharan M.
Toronto.
|
|
|
Re: JDK API [message #71327 is a reply to message #71189] |
Wed, 02 July 2003 03:32  |
Eclipse User |
|
|
|
Originally posted by: tom.eicher.gmx.ch.nodomain
If you want to get the class library javadoc to display, there are two
different concerns:
1. Make sure you have the source along with the JRE you are using (will get
autodetected when you install a JRE, or if added later, you can attach the
source in the project's properties, on the Java Build Path page, by adding
the source.zip to the rt.jar library.)
You will now be able to seamlessly browse from your own code to JRE codea
and get source and javadoc hovers when you point the mouse cursor over a
method or class name.
2. Define the javadoc location for the JRE
In the Preferences, got to Java->Installed JREs. For your JRE, define the
javadoc location to be the location where you would normally browse java API
javadoc.
You can now press use "Navigate->Show external javadoc" when the system
caret is in a method and get the html javadoc for it to open in a browser.
-tom
"Haricharan Maramraj" <haricharanm@hotmail.com> wrote in message
news:bdt2sp$7ct$1@rogue.oti.com...
> Hi!
> I was trying to find a way to add Java API to Eclipse. I couldn't do that.
> I wonder if anyone could help me add J2SDK1.4 API to Eclipse so that I can
> get online help regarding packages, classes, and methods to be used in my
> code.
>
> Thankyou
> Regards
> Haricharan M.
> Toronto.
>
|
|
|
Powered by
FUDForum. Page generated in 0.02699 seconds