Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » How to make javadocs available offline in the SDK?
How to make javadocs available offline in the SDK? [message #1068118] Fri, 12 July 2013 09:40 Go to next message
Tony Yan is currently offline Tony YanFriend
Messages: 2
Registered: July 2013
Junior Member
Hi all,

Just started using Eclipse SDK v.4.2.2 more than a week ago and I found it quite easy and intuitive to use. I noticed though that the context-sensitive javadocs facility in the editor is only available when connected to the web. How can I make this feature run even when offline? Is there a configuration change that I can do or a file that I need to download and set up? There will be times when I won't have web access so having the javadocs offline in the editor would be great.

Best regards,
Tony
Re: How to make javadocs available offline in the SDK? [message #1068741 is a reply to message #1068118] Sun, 14 July 2013 07:37 Go to previous messageGo to next message
Tony Yan is currently offline Tony YanFriend
Messages: 2
Registered: July 2013
Junior Member
Well, anyone?
Re: How to make javadocs available offline in the SDK? [message #1068829 is a reply to message #1068118] Sun, 14 July 2013 13:56 Go to previous message
David Wegener is currently offline David WegenerFriend
Messages: 1348
Registered: July 2009
Senior Member
On 07/12/2013 07:17 AM, Tony Yan wrote:
> Hi all,
>
> Just started using Eclipse SDK v.4.2.2 more than a week ago and I found
> it quite easy and intuitive to use. I noticed though that the
> context-sensitive javadocs facility in the editor is only available when
> connected to the web. How can I make this feature run even when
> offline? Is there a configuration change that I can do or a file that I
> need to download and set up? There will be times when I won't have web
> access so having the javadocs offline in the editor would be great.
>
> Best regards,
> Tony
Eclipse uses a couple of techniques to display the JavaDoc. The hover
window will actually generate the JavaDoc from the JDK source if you
have it available. The source availability depends on whether you are
running against a JDK or a JRE and whether you installed the source
along with a JDK.

The easiest way to get the source locally is to install a JDK and make
sure that you select to install source. I believe that installing
source is the default. You then need to use the
Window->Preferences->Java->Installed JREs to point to the JDK.

Use the Edit button on the Installed JREs page to change settings for an
already defined runtime. From the edit dialog, select all the jars and
click source attachment. You then need to navigate to where the source
zip file is installed for your JDK. The file will be named src.zip and
should be in the directory where your JDK is installed.
Previous Topic:Unable to use multiple class files - Please help
Next Topic:Windowbuilder "Unhandled event loop exception" No more handles
Goto Forum:
  


Current Time: Wed Nov 26 15:30:00 GMT 2014

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

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