Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Installing java help in eclipse
Installing java help in eclipse [message #211895] Thu, 24 May 2007 12:50 Go to next message
Eclipse UserFriend
Originally posted by: ciccio4242.libero.it

Hi,

I've downloaded java 6 SE help from java.sun.com, and I'd like to have
it integrated into eclipse, i.e. while I'm editing and I press F1 on the
word String it would be great if the Java help for String class would
show up in the help pane.

How can I do that???

Thanks

Ciccio
Re: Installing java help in eclipse [message #211902 is a reply to message #211895] Thu, 24 May 2007 13:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nugaee.SPAMtlen.pl

ciccio wrote:
> Hi,
>
> I've downloaded java 6 SE help from java.sun.com, and I'd like to have
> it integrated into eclipse, i.e. while I'm editing and I press F1 on the
> word String it would be great if the Java help for String class would
> show up in the help pane.
>
> How can I do that???
I don't think this is possible.
If you can use Java SDK you can get much more better support and
integration (context help browsing through system libraries code etc.)
if you need to use your local copy of javadoc you can attach it to your
project in rt.jar properties in your project. then this documentation
can be viewed in JavaDoc view by clicking specific class or method in editor

hope this help

bartosz michalik
Re: Installing java help in eclipse [message #211932 is a reply to message #211902] Thu, 24 May 2007 14:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ciccio4242.libero.it

Bartosz Michalik wrote:
>> I've downloaded java 6 SE help from java.sun.com, and I'd like to have
>> it integrated into eclipse, i.e. while I'm editing and I press F1 on the
>> word String it would be great if the Java help for String class would
>> show up in the help pane.
> If you can use Java SDK you can get much more better support and
> integration (context help browsing through system libraries code etc.)

What shoud I download? Right now I have the one at
http://java.sun.com/javase/6/docs/
Re: Installing java help in eclipse [message #211939 is a reply to message #211932] Thu, 24 May 2007 14:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nugaee.SPAMtlen.pl

ciccio wrote:
> Bartosz Michalik wrote:
> What shoud I download? Right now I have the one at
> http://java.sun.com/javase/6/docs/
>

Java(TM) SE Development Kit 6 Update 1
from http://java.sun.com/javase/downloads/index.jsp (JDK 6u1)

bartek michalik
Re: Installing java help in eclipse [message #212017 is a reply to message #211895] Thu, 24 May 2007 22:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

ciccio wrote:
> Hi,
>
> I've downloaded java 6 SE help from java.sun.com, and I'd like to have
> it integrated into eclipse, i.e. while I'm editing and I press F1 on the
> word String it would be great if the Java help for String class would
> show up in the help pane.
>
> How can I do that???

Shift+F2 is the keyboard shortcut to open the Javadoc in your browser.
Usually it does not require any special set-up if you are using a JDK
instead of a JRE.

Hope this helps,
Eric
Re: Installing java help in eclipse [message #212435 is a reply to message #212017] Mon, 28 May 2007 10:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ciccio4242.libero.it

Eric Rizzo wrote:

>> I've downloaded java 6 SE help from java.sun.com, and I'd like to have
>> it integrated into eclipse,
[...]
>> How can I do that???
> Shift+F2 is the keyboard shortcut to open the Javadoc in your browser.

Does not work.

When I put my mouse over (for example) String class I have the message:

"java.lang.String
Note: This element neither has attached source nor attached Javadoc and
hence no information could be found."

Any hint?
Re: Installing java help in eclipse [message #212442 is a reply to message #212435] Mon, 28 May 2007 12:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jakub.jurkiewicz.gmail.com

Try:

Window -> Preferences, in the tree on the left go Java->Installed JREs,
choose the jre you're using and click "Edit" button on the right. There
should new window be opened, click "Javadoc Location" button and point
to the location with the javadoc.
I've got it set to (I guess it's by default):
http://java.sun.com/javase/6/docs/api/
Why don't you try this?

Hope this helps,

--
Jakub Jurkiewicz
http://eclipser-blog.blogspot.com/

ciccio wrote::
> Eric Rizzo wrote:
>
>>> I've downloaded java 6 SE help from java.sun.com, and I'd like to
>>> have it integrated into eclipse,
> [...]
>>> How can I do that???
>> Shift+F2 is the keyboard shortcut to open the Javadoc in your browser.
>
> Does not work.
>
> When I put my mouse over (for example) String class I have the message:
>
> "java.lang.String
> Note: This element neither has attached source nor attached Javadoc and
> hence no information could be found."
>
> Any hint?
>
Re: Installing java help in eclipse [message #212458 is a reply to message #212442] Mon, 28 May 2007 13:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ciccio4242.libero.it

Jakub Jurkiewicz wrote:

> Window -> Preferences, in the tree on the left go Java->Installed JREs,[...]

Wow: here's what I've been searching for!

> I've got it set to (I guess it's by default):

You've lost your bet :-)

> http://java.sun.com/javase/6/docs/api/
> Why don't you try this?

I did: I set javadocs rt.jar properties to my downloaded copy of the
above. Finally it works.

> Hope this helps,

It does. Thanks a lot for your help.

Ciao
Re: Installing java help in eclipse [message #212655 is a reply to message #212458] Tue, 29 May 2007 13:12 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

ciccio wrote:
> Jakub Jurkiewicz wrote:
>
>> Window -> Preferences, in the tree on the left go Java->Installed
>> JREs,[...]
>
> Wow: here's what I've been searching for!
>
>> I've got it set to (I guess it's by default):
>
> You've lost your bet :-)
>
>> http://java.sun.com/javase/6/docs/api/
>> Why don't you try this?
>
> I did: I set javadocs rt.jar properties to my downloaded copy of the
> above. Finally it works.
>
>> Hope this helps,
>
> It does. Thanks a lot for your help.

You should also know that if you use a full JDK instead of just a JRE,
Eclipse will usually find the source and Javadoc automatically without
having to specify them yourself.

Hope this helps,
Eric
Previous Topic:Installed 3.3, lost most JSP features
Next Topic:Looking for a cross-reference plugin
Goto Forum:
  


Current Time: Mon Nov 04 22:46:35 GMT 2024

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

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

Back to the top