Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » JDK Docs
JDK Docs [message #205942] Thu, 19 April 2007 02:45 Go to next message
Eclipse UserFriend
Originally posted by: pat.parkplacesolutions.com

How do I configure eclipse to use JDK docs or how do I get to it from
Eclipse
Re: JDK Docs [message #206001 is a reply to message #205942] Thu, 19 April 2007 06:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

Patrick wrote:
> How do I configure eclipse to use JDK docs or how do I get to it from
> Eclipse

If you are running Eclipse with a JDK (as opposed to a JRE) it should
locate the docs for you as long as they are installed with the JDK.
Otherwise, you can define an alternate JRE that is the JDK (under
Preferences >Java > Installed JREs. Again, if it is a JDK it will find
the Javadocs for you. You can always set their location manually; see
this screencast (it shows setting the source location, but Javadoc
location is right next to that).

Hope this helps,
Eric
Re: JDK Docs [message #206492 is a reply to message #206001] Fri, 20 April 2007 23:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

Eric Rizzo wrote:
> Patrick wrote:
>> How do I configure eclipse to use JDK docs or how do I get to it from
>> Eclipse
>
> If you are running Eclipse with a JDK (as opposed to a JRE) it should
> locate the docs for you as long as they are installed with the JDK.
> Otherwise, you can define an alternate JRE that is the JDK (under
> Preferences >Java > Installed JREs. Again, if it is a JDK it will find
> the Javadocs for you. You can always set their location manually; see
> this screencast (it shows setting the source location, but Javadoc
> location is right next to that).

Oops, I forgot the link to the screencast. Here it is:
http://www.rizzoweb.com/Eclipse/JDKSourceAttachment.html

Eric
Re: JDK Docs [message #206910 is a reply to message #206492] Mon, 23 April 2007 14:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: landolini.yahoo.it

I wish to see the docs in the browser...but also with
Shift + F2 the browser doesn't start...and I don't see
nothing.
I've the libraries as you show in your page.
Many thanks.Regards
Re: JDK Docs [message #206976 is a reply to message #206910] Mon, 23 April 2007 20:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: landolini.yahoo.it

Though I set the docs path to //docs/api , Eclipse change it
to this wrong way !!! >>>

http://immagini.p2pforum.it/show.php/141373_screenshotEclips e4.png.html
Re: JDK Docs [message #207315 is a reply to message #206976] Wed, 25 April 2007 01:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

lando wrote:
>
> Though I set the docs path to //docs/api , Eclipse change it
> to this wrong way !!! >>>
>
> http://immagini.p2pforum.it/show.php/141373_screenshotEclips e4.png.html
>
>

Remember that you can have any number of JREs configured in Eclipse. IF
you set the Javadoc location for one of them make sure that is the JRE
that is being used when you launch your program, or set the proper
Javadoc location for all the JREs listed in Preferences > Java >
Installed JREs.

Hope this helps,
Eric
Re: JDK Docs [message #207395 is a reply to message #207315] Wed, 25 April 2007 10:06 Go to previous messageGo to next message
Lando Lini is currently offline Lando LiniFriend
Messages: 2
Registered: July 2009
Junior Member
Eric Rizzo ha scritto:
> lando wrote:
>>
>> Though I set the docs path to //docs/api , Eclipse change it
>> to this wrong way !!! >>>
>>
>> http://immagini.p2pforum.it/show.php/141373_screenshotEclips e4.png.html
>>
>>
>
> Remember that you can have any number of JREs configured in Eclipse. IF
> you set the Javadoc location for one of them make sure that is the JRE
> that is being used when you launch your program, or set the proper
> Javadoc location for all the JREs listed in Preferences > Java >
> Installed JREs.
>
> Hope this helps,
> Eric


I've done this procedure . And repeted many times !

window > preferences > Java > installed JREs
jdk1.5.0_07
/home/myname/jdk1.5.0_07
Edit
Select > /home/myname/jdk1.5.0_07/jre/lib/rt.jar
add Javadoc location > home/myname/jdk-1_5_0-doc/docs/api
See >>>
http://immagini.p2pforum.it/out.php/i142336_EclipseEditJRE1. png
THEN Shift + F2 on my source Applet, JApplet keyword
and I get >
http://immagini.p2pforum.it/show.php/141373_screenshotEclips e4.png.html
THIS is right ! because the javadoc location has changed ! >>>
http://immagini.p2pforum.it/out.php/i142337_EclipseEditJRE2. png
....in fact the JApplet.html right location is >>>
/home/lando/jdk-1_5_0-doc/docs/api/javax/swing/JApplet.html
Without the /java/ folder that Eclipse has appended after /api/ .
And this is the problem.

Thanks a lot for your help .
Regards
Re: JDK Docs [message #207595 is a reply to message #207395] Wed, 25 April 2007 18:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

lando wrote:
> I've done this procedure . And repeted many times !
>
> window > preferences > Java > installed JREs
> jdk1.5.0_07
> /home/myname/jdk1.5.0_07
> Edit
> Select > /home/myname/jdk1.5.0_07/jre/lib/rt.jar
> add Javadoc location > home/myname/jdk-1_5_0-doc/docs/api
> See >>>
> http://immagini.p2pforum.it/out.php/i142336_EclipseEditJRE1. png
> THEN Shift + F2 on my source Applet, JApplet keyword
> and I get >
> http://immagini.p2pforum.it/show.php/141373_screenshotEclips e4.png.html
> THIS is right ! because the javadoc location has changed ! >>>
> http://immagini.p2pforum.it/out.php/i142337_EclipseEditJRE2. png

Please file a bug report with the exact steps to reproduce the problem:
http://bugs.eclipse.org/bugs

Eric
Re: JDK Docs [message #207767 is a reply to message #207595] Thu, 26 April 2007 15:14 Go to previous message
Lando Lini is currently offline Lando LiniFriend
Messages: 2
Registered: July 2009
Junior Member
Eric Rizzo ha scritto:
> lando wrote:
>> I've done this procedure . And repeted many times !
>>
>> window > preferences > Java > installed JREs
>> jdk1.5.0_07
>> /home/myname/jdk1.5.0_07
>> Edit
>> Select > /home/myname/jdk1.5.0_07/jre/lib/rt.jar
>> add Javadoc location > home/myname/jdk-1_5_0-doc/docs/api
>> See >>>
>> http://immagini.p2pforum.it/out.php/i142336_EclipseEditJRE1. png
>> THEN Shift + F2 on my source Applet, JApplet keyword
>> and I get >
>> http://immagini.p2pforum.it/show.php/141373_screenshotEclips e4.png.html
>> THIS is right ! because the javadoc location has changed ! >>>
>> http://immagini.p2pforum.it/out.php/i142337_EclipseEditJRE2. png
>
> Please file a bug report with the exact steps to reproduce the problem:
> http://bugs.eclipse.org/bugs
>
> Eric



I've done , the bug is 184115 .

Regards , Lando.
Previous Topic:Plugin .jar?
Next Topic:Autopopulate VM arguments in run configurations
Goto Forum:
  


Current Time: Sat Apr 27 03:20:15 GMT 2024

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

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

Back to the top