How to integrate JDK and JRE Javadoc documents into MyEclipse

Source: Internet
Author: User

Sometimes when writing code, you need to look at the Javadoc documentation for easy programming. So how to integrate Javadoc documents into MyEclipse so that they can be viewed?

Workaround:

1. Windows---> Preferences (Preferences) in the MyEclipse menu bar

2, left navigation bar find Java--->installed jres, click Installed JREs, select your existing to add Java API, Javadoc JRE or JDK.

3. Click "Edit" on the right, the Edit JRE dialog box appears, and if you are new, the New JRE dialog box appears.

4. In "JRE system Libraries" Select the JRE or JDK you already have to add the Java API, Javadoc, and then click Javadoc location on the right.

5, in the pop-up "Javadoc for xxxxx" Fill in the Java API or Javadoc location, Javadoc URL method is the Java API Network address or local Javadoc extracted address. You can click "Browse" to add it. Note: When filling Javadoc location path, be sure to write to http://download.oracle.com/javase/7/docs/api/, that is, to the API layer;

"Javadoc in Archive" is the Javadoc compressed package address that is downloaded to the local, then fill in "Path within archive" The structure of the API within the compressed package, generally docs/api, or can be more easily added through "Browse". Finally click "OK" to save.

6, write a few lines of code in MyEclipse, and then click the name of the class or method you want to check the API, press F1 a bit, is not able to quickly locate the help, if that is successful.

How to integrate JDK and JRE Javadoc documents into MyEclipse

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.