Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8405861
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T22:56:30+00:00 2026-06-09T22:56:30+00:00

Would you know whether it’s possible to store javadocs linked to jars so that

  • 0

Would you know whether it’s possible to store javadocs linked to jars so that they are available when not connected to the internet?

It seems that sometimes I can download javadocs for offline access, but not always.

For example, I would like to have this for offline access. How should I go about it ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T22:56:32+00:00Added an answer on June 9, 2026 at 10:56 pm

    Try attaching the src jar to the library.

    Take a look at this :

    How to attach javadoc or sources to jars in libs folder?

    In your case you would download and use the following jar.
    http://pivotal.github.com/robolectric/downloads/robolectric-0.9.4-src.jar

    Once you have attached the src jar you also have access to the Javadoc in the javadocs view.

    Is there a Javadoc repository ?

    To answer another part of your question, I do not know of an offline repository, but there is an online one worth exploring : http://www.docjar.org/

    There is also an Eclipse plugin for docjar which can be installed using from here.

    Having said that, I don’t think they would go to the trouble of generating javadoc for third part libraries like roboelectric which provide one themselves. In that case, you are stuck generating the Javadocs manually using the steps in the following section.

    Generating Javadoc from src.jar

    tl;dr : Using the steps below, I generated the Javadoc from the robolectric-0.9.4-src.jar source jar. The javadoc thus generated can be downloaded from here.

    Step 1:
    Extract the robolectric-0.9.4-src.jar (using 7-zip or another archive utility). Move the android , com and META-INF folder inside a folder called src (This is useful in the next step). Let’s say you extracted the robolectric-0.9.4-src.jar inside c:\robo. It would now have the following folders :
    c:\robo\src\android
    c:\robo\src\com
    c:\robo\src\META-INF

    Step 2:
    Create an Eclipse project using the extracted source. This can be done by creating a new Java project inside Eclipse and instead of using the default workspace location, point to the location of the directory above (c:\robo).

    enter image description here

    Step 3:
    Now run the javadoc wizard by going to File -> Export -> Javadoc like so :

    enter image description here

    Step 4:
    Select ‘Private’ package to get Javadoc for all classes.
    enter image description here

    Step 5:
    Next, select all jars except tools.jar in referenced jars :
    enter image description here

    Step 6:
    Then, choose the path of the overview html and Check Open Generated File in browser:
    enter image description here

    Step 7:
    Click on Finish. On doing so, you’ll see the Javadoc task running in the Debug view :

    enter image description here

    And when it finishes a browser view should open with your Javadoc !
    enter image description here

    Step 8:
    Profit ! Your Javadoc should now be generated and accessible.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to know whether it is possible to write code that would
I would like to know whether or not it is possible to get information
I would like to know whether it is possible or not to create text
I would like to know whether or not it is possible to clear an
I would like to know whether there are any websites (not toy projects) that
I would like to know whether this is actually possible in Android? When Android
I would like to do the following. I don't know whether it's possible to
I would like to know whether it a possible to detect whether a HTML
I would like to know whether it is possible to post topics for Discussion
I would like to know whether it is possible to pass parameters from a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.