Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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:\Development\adt-bundle-windows-x86_64-20130219\eclipse\jre\bin\javaw.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"?)

like image 1000
Paul D. Waite Avatar asked Mar 15 '13 11:03

Paul D. Waite


People also ask

How do I download JRE and JDK on Windows?

In a browser, go to the Java SE Development Kit 10 Downloads page and click Accept License Agreement. Under the Download menu, click the Download link that corresponds to the .exe for your version of Windows. Download the file jdk-10.

Can I install JRE and JDK?

You can download JDK and JRE from Java SE Development Kit Downloads page. For supported processors and browsers, see Oracle JDK Certified System Configurations. Installation of JDK and JRE on Oracle Solaris: Instructions include installation from Image Packaging System (IPS) and Archive binaries.


2 Answers

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

like image 85
the-ginger-geek Avatar answered Sep 29 '22 07:09

the-ginger-geek


download jre1.7.0_45 and then extract it into the Eclipse folder and rename folder of jre1.7.0_45 to jre and Eclipse will run

like image 29
user3437127 Avatar answered Sep 29 '22 06:09

user3437127