Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » JavaDoc and Source code linking into eclipse
JavaDoc and Source code linking into eclipse [message #202384] Fri, 30 March 2007 10:06 Go to next message
Eclipse UserFriend
Originally posted by: evaandoli.dodo.com.au

I have the SDK Java 6 and JRE installed. Eclipse 3.3m5

When I open a class like String - its says the source is not attached, same
with the javadoc.

Maybe I have the wrong understanding but isn't the SDK source+javadoc (plus
lots of other goodies)

So how do I link the SDK into eclipse is my question (I think),

Thanks,
Stu
Re: JavaDoc and Source code linking into eclipse [message #202391 is a reply to message #202384] Fri, 30 March 2007 10:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Stu,

Using Window->Preferences->Java->Installed JREs, choose the JRE and do
"Edit..." and then pick the jar and use Source Attachment... to find the
src.jar for that...


Stu wrote:
> I have the SDK Java 6 and JRE installed. Eclipse 3.3m5
>
> When I open a class like String - its says the source is not attached, same
> with the javadoc.
>
> Maybe I have the wrong understanding but isn't the SDK source+javadoc (plus
> lots of other goodies)
>
> So how do I link the SDK into eclipse is my question (I think),
>
> Thanks,
> Stu
>
>
>
Re: JavaDoc and Source code linking into eclipse [message #202454 is a reply to message #202384] Fri, 30 March 2007 15:19 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

Stu wrote:
> I have the SDK Java 6 and JRE installed. Eclipse 3.3m5
>
> When I open a class like String - its says the source is not attached, same
> with the javadoc.
>
> Maybe I have the wrong understanding but isn't the SDK source+javadoc (plus
> lots of other goodies)
>
> So how do I link the SDK into eclipse is my question (I think),

Are you specifying to Eclipse which Java version to use (using the -vm
option)? If not, it may be finding the JRE and using that, which does
not have source or Javadoc with it. You should be explicitly telling
Eclipse to use your JDK, in which case it will automatically pick up the
source and Javadoc.
Specifying the -vm option is a FAQ - Google or search the newsgroup
archives for the details.

Hope this helps,
Eric
Previous Topic:a simple question-how to do "java Sample 30 5" in eclipse?
Next Topic:Key bindings Linux KDE Eclipse 3.2.1
Goto Forum:
  


Current Time: Wed Apr 24 14:44:56 GMT 2024

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

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

Back to the top