Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / July 2004

Tip: Looking for answers? Try searching our database.

Eclipse IDE Javadoc Tooltips

Thread view: 
ADH - 30 Jun 2004 11:40 GMT
Hi:

I'm using the Eclipse IDE for Java development, but am running into
some problems with the "Content\Code Assist" feature. Normally, when I
partially enter the name of a particular class of package, the IDE
automatically displays possible completions based on that string of
text. However, the IDE is also supposed to show me the associated
Javadoc for that class.

I know that this feature is enabled because it is able to show me the
associated Javadocs for any classes that I write myself and reside in
the current project.

I have set the Javadoc location for that project to the following
directory (gotten after unzipping the documentation download file):

file:/E:/Java API/docs/api/

However, it does not show any Javadocs for the other classes that are
in the Java API.

Can anyone help out?

Thanks,
- ADH
Christopher Fuhrman - 05 Jul 2004 12:54 GMT
> I know that this feature is enabled because it is able to show me the
> associated Javadocs for any classes that I write myself and reside in
> the current project.
[...]
> However, it does not show any Javadocs for the other classes that are
> in the Java API.

I used to have this problem. Now I pass the following on the startup command
in my shortcut to launch Eclipse:

-vm C:\j2sdk1.4.2_04\jre\bin\javaw

Of course, you should change the path depending on your installation of the
SDK. If the JRE thats used upon launching Eclipse doesn't contain the
javadoc, you won't see it. This happens usually because the standard
installation of a JRE is different from the SDK -- Eclipse sometimes finds
the wrong one. In my case that's due to the numerous installations and
upgrades, etc. Multiple JREs are often installed on a system. For example
Oracle installs a JRE. By being explicit on the launch, you take away all
doubt. Hope this helps!

Also, I specify my project path (which is outside of the Eclipse install)
with the -data option (in the same Eclipse launch shortcut). This helps
because you don't have to copy your data files EACH time there's a new
release. Helps for backing up the right files, etc. Indeed -vm and -data are
very useful items.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.