JavaDoc and Source code linking into eclipse [message #202384] |
Fri, 30 March 2007 10:06 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.07897 seconds