Ubuntu 12.04 under eclipse associated source code

Source: Internet
Author: User

First, JDK source code

On the command line:

sudo apt-get install Openjdk-7-source

Under the good JDK source code in

Linux in Directory Usr/lib/jvm/openjdk-7/src.zip

Windows in directory C:\Program files\java\jdk1.6.0_20\src.zip

In Eclipse, select Windows, Preferences, Java-installed JREs , expands rt.jar , select "Source Atta Chment "and find the from src.zip your disk drive.

Second, the Android source code note, before the location of the add attached source, became the change attached source this means that, in this way, can not simultaneously add JDK and Android source code to modify a way. SDK Manager, download the latest SDK source code on Android.jar Right-click, Java source attachment-->external location--> External folder Select Sdk/so Urces Directory

Ubuntu 12.04 under eclipse associated source code

Related Article

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.