Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
229 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"?)

See Question&Answers more detail:os

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

1 Reply

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...