Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Where to add this: http://download.oracle.com/docs/cd/E17412_01/javame/config/cldc/ref-impl/midp2.0/jsr118/index.html

so, when I highlight a word in eclipse ide, I will get the help.

share|improve this question
add comment

2 Answers

To add Javadoc to Eclipse:

  • download as many Javadoc packages as you want (they should be in zip or jar archives).
  • Open your Eclipse preferences, and navigate to Java -> Installed JREs. Click on the default JRE you use, and click the Edit button on the right.
  • In the window that pops up, click Add External JARs in the right column, and navigate to where you have the archives saved (you may want to save them somewhere out-of-the-way because if you delete the archives, your Javadoc won't work anymore).
  • Select the archives, and click Open. This should recognize the Javadoc archives and help you with code-completion and documentation (you may have to restart your IDE for this to take effect).

*You didn't specify what operating system you were on, so each OS may vary slightly.

share|improve this answer
    
I can't find the jsr118 docs –  markon Jul 25 '10 at 15:50
    
and i use windows xp –  markon Jul 25 '10 at 16:14
    
@mark It doesn't look like Oracle provides a downloadable Javadoc for the MIDP2.0 spec, only the HTML docs posted on their site. –  squircle Jul 25 '10 at 21:01
add comment

Right Click the JAR file in Project Explorer -> Properties -> From the left pane choose Javadoc Location -> enter the URL of your jar documentation.

Generally you can Google for: javadoc lib-name and then pickup the URL of the first site suggested by Google - going up a level.

For example Google returned this:
http://docs.oracle.com/javame/config/cldc/ref-impl/midp2.0/jsr118/index.html
so by going up one level, I mean:
http://docs.oracle.com/javame/config/cldc/ref-impl/midp2.0/jsr118/

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.