Ubuntu under the command line to install Jdk,android-studio, and genymotion virtual machine for Android development

Source: Internet
Author: User

Installing the JDKThe latest linux64-bit JDK package from the Oracle website (now JDK-8U92-LINUX-X64.TAR.GZ) commands the new folder as follows-unzip sudo MKDIR/USR/LIB/JVM
sudo tar zxvf jdk-8u92-linux-x64.tar.gz-c/USR/LIB/JVM set environment variable sudo gedit/etc/profile add environment variable content #set Java environment
Export java_home=/usr/lib/jvm/jdk1.8.0_92
Export JRE_HOME=${JAVA_HOME}/JRE
Export Classpath=.:${java_home}/lib:${jre_home}/lib
Export path=${java_home}/bin: $PATH source/etc/profile update file Test java-version show JDK version is successfully configured

[Email protected]:~$ java-version
Java Version "1.8.0_92"
Java (TM) SE Runtime Environment (build 1.8.0_92-b14)
Java HotSpot (TM) 64-bit Server VM (build 25.92-b14, Mixed mode)

Installing Android-studioNote-------is a prerequisite for scientific access to the Internet
sudo apt-add-repository ppa:paolorotolo/android-studio add android-studio source sudo apt-get update software list sudo apt-get ins Tall Android-studio Installation Android-studio//Because 64-bit system requires two 32 of library files, it is very important, these libraries do not install, will not open, and normal operation//essays written late, if not remember the words are the two, if not, please search by yourself. $sudo apt-get Install libstdc++6 $sudo apt-get Install lib32stdc++6

Installing Genymotion

First go to Genymotion's official website (http://www.genymotion.net/) to register an account, (free), and then have permission to download his latest file Genymotionxxxxx64.bin a. bin file.

And then

chmod +x genymotionxxxxx64.bin//Give Execute permission

./genymotionxxxxx.bin-d/home/the directory to install

Search GenY in dash to find the program

Enter account to create the virtual machine account number as [email protected] (enter your account number and password)

Free for individual users, but limited functionality, and can only create a virtual machine, but fast (25 seconds to boot), suitable for beginners,

If you are using eclipse to develop, you need to install a genymotion plug-in to use it, if android-studio, you can start the virtual machine, directly click on the running program to achieve debugging.

Ubuntu under the command line to install Jdk,android-studio, and genymotion virtual machine for Android development

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.