Ubuntu install Eclipse,adt,android SDK, offline

Source: Internet
Author: User

1. Installing the JDK

Environment variables

$ sudo gedit ~/.BASHRC

Export java_home=/usr/local/jdk1.8.0_65
Export JRE_HOME=${JAVA_HOME}/JRE
Export Classpath=.:${java_home}/lib:${jre_home}/lib
Export Path=${java_home}/bin: $PATH

sudo update-alternatives--install/usr/bin/java Java/usr/local/jdk1.8.0_65/bin/java 300
sudo update-alternatives--install/usr/bin/javac Javac/usr/local/jdk1.8.0_65/bin/javac 300

sudo update-alternatives--install/usr/bin/jar Jar/usr/local/jdk1.8.0_65/bin/jar 300
sudo update-alternatives--install/usr/bin/javah javah/usr/local/jdk1.8.0_65/bin/javah 300

sudo update-alternatives--install/usr/bin/javap JAVAP/USR/LOCAL/JDK1.8.0_65/BIN/JAVAP 300

sudo update-alternatives--config java

2. Install Eclipse

Eclipse download and unzip to run without installation

3.ADT Plug-in

Download Adt-23.0.6.zip, start eclipse, then select Help>install New Software, select Adt-23.0.6.zip Install

4.android SDK

Start Eclipse, select Window>preferences, click Android on the left, and then on the right, browse to select the location of the SDK locations (that is, choose Android-sdk-linux), click OK

Http://www.linuxidc.com/Linux/2015-01/111958.htm.

Ubuntu install Eclipse,adt,android SDK, offline

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.