Android's Java Environment deployment

Source: Internet
Author: User

Download the latest JDK on Oracle's website

Http://www.oracle.com/technetwork/cn/java/javase/downloads/jdk8-downloads-2133151-zhs.html

Select the appropriate system version

The installation process is the next step, but remember the installation directory for your JDK and JRE, because this one configures the environment variables to be used

When the installation is off, proceed as follows

Variable name: java_home

Variable value: C:\Program files\java\jdk*/(* for JDK version number if you are the default path folder, there will be a corresponding version number)

Variable name: CLASSPATH

Variable value:%java_home%\lib;%java_home%\lib\dt.jar;%java_home%\lib\tools.jar;

Double-click the system variable path, add it at the last:;%java_home%\bin;%java_home%\jre\bin (Don't forget to prepend the semicolon to the other path path)

Then confirm that the Java environment is now deployed

As for the Android studio installation is basically the next step, there is nothing to say, select All, allocate memory default, it is best to configure the Java environment before installing Android Studio, so that the Android After Strudio, the software automatically configures the JDK path instead of manually configuring it.

Android's Java Environment deployment

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.