Installing the Android SDK prompts for no JDK

Source: Internet
Author: User

Error Tip:

Can also create symbolic link if you don ' t want to copy the files. (Requires Administrator privileges):
Mklink C:/windows/syswow64/java.exe C:/windows/system32/java.exe

Mklink C:/windows/syswow64/javaw.exe C:/windows/system32/javaw.exe

Right-click Computer on the desktop, select Properties (or open System in Control Panel), select Advanced System settings, and under System Properties, select environment variables on the Advanced page.

Found the Java_home variable in the system environment variable, no, please create a new Java_home item, set the value of the Java_home variable to

The code is as follows Copy Code
C:/Program files/java/jdk1.7.0_10

, this is the JDK installation path, according to its own installation path and version of the please modify yourself.
Then create or modify the following variable values:
Set the value of the CLASSPATH variable to:

The code is as follows Copy Code

.; %java_home%/lib;%java_home%/lib/tools.jar;%java_home%/lib/dt.jar

Add the PATH variable value to the end of the original value with the semicolon of the English half-width; And then add

The code is as follows Copy Code
C:/Program Files/java/jdk1.7.0_10/bin

This value also depends on your own installation path and version of the different self modification

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.