Install the Android2.2 development environment under Ubuntu10.10

Source: Internet
Author: User
I. install Java 6 install jre/jdksudoapt-getinstallsun-java6-binsun-java6-jresun-java6-jdk after using this command to install, the default is installed in Ubuntu10.10/usr/lib/jvm/directory, take me as an example, here is the/usr/lib/jvm/java-6-sun-1.6.0.24 directory,/usr/lib/jv

1. install Java 6

Install jre/jdk

Sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk

After you use this command to install it, it is installed in the/usr/lib/jvm/directory of Ubuntu 10.10 by default. Take me as an example, here is the/usr/lib/jvm/java-6-sun-1.6.0.24 directory, and/usr/lib/jvm/has a shortcut for java-6-sun.

Sometimes multiple jdk is installed, and sometimes switch between them. You can use the following command:

Sudo update-alternatives-config java

Sudo update-alternatives-config javac

For command line configuration, see:

JDK building http://www.linuxidc.com/Linux/2011-04/34364.htm under Ubuntu

Ubuntu java environment variablesHttp://www.linuxidc.com/Linux/2011-04/34365.htm

Ii. Install Eclipse

Open Application-Ubuntu Software Center

Search for Eclipse download and Installation

Open Application-Programming-Eclipse

Work folder settings, default, click OK

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.