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, \
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:
EDIT: See screenshot for environmental variables
If using win7 64 bit OS:
After installing the latest JDK make sure you copy the jre folder from the install location {C:\Program Files\Java\jdk1.7.0_40
} directly to your eclipse folder as even pathing it apparently does nothing on win7.
Mad
edit:
Actual jdk version number on folder name will vary as newer versions are released
you need to download and install jdk
from here
The most likely reason why the Java Runtime Environment JRE or Java Development Kit JDK is that it's owned by Oracle not Google and they would need a redistribution agreement which if you know there is some history between the two companies.
Lucky for us that Sun Microsystems before it was bought by Oracle open sourced Java and MySQL a win for us little guys.... Thank you Sun!
Google should probably have a caveat saying you may also need JRE OR JDK
Eclipse: failed to create the java virtual machine – message box
Replace -vmargs by your current real path of javaw.exe with
-vm "c:\Program Files\Java\jdk1.7.0_07\bin\javaw.exe"
or in case you've installed jre only:
-vm "C:\Program Files\Java\jre7\bin\javaw.exe"
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