Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » JDK API
JDK API [message #71189] Tue, 01 July 2003 22:44 Go to next message
Eclipse UserFriend
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 07:32 Go to previous message
Eclipse UserFriend
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.
>
Previous Topic:Opening a File
Next Topic:simple question
Goto Forum:
  


Current Time: Fri Apr 26 20:18:05 GMT 2024

Powered by FUDForum. Page generated in 0.02770 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top