Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
204 views
in Technique[技术] by (71.8m points)

java - How do I install a JRE or JDK to run the Android Developer Tools on Windows 7?

I'm trying to install the Android Developer Tools on my Windows 7 computer, so that I can use the Android emulator to test websites.

Android Developer's website, "Setting Up the ADT Bundle":

The ADT Bundle provides everything you need to start developing apps... If you haven't already, go download the Android ADT Bundle.

...

Install the SDK and Eclipse IDE

Unpack the ZIP file (named adt-bundle-.zip) and save it to an appropriate location, such as a "Development" directory in your home directory. Open the adt-bundle-/eclipse/ directory and launch eclipse. That's it! The IDE is already loaded with the Android Developer Tools plugin and the SDK is ready to go.

My computer, after I carried out those exact steps:

A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following locations:
C:Developmentadt-bundle-windows-x86_64-20130219eclipsejreinjavaw.exe
javaw.exe in your current PATH

How do I get a Java Runtime Environment or Java Development Kit that will let me run the Android Developer Tools bundle?

(And, for bonus points, why isn't it included in the download, if the download is meant to provide "everything you need to start developing apps"?)

question from:https://stackoverflow.com/questions/15431822/how-do-i-install-a-jre-or-jdk-to-run-the-android-developer-tools-on-windows-7

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You can go here to download the Java JRE.

You can go here to download the Java JDK.

After that you need to set up your environmental variables in Windows:

  1. Right-click My Computer
  2. Click Properties
  3. Go to Advanced System Settings
  4. Click on the Advanced tab
  5. Click on Environment Variables

EDIT: See screenshot for environmental variables

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...