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

前端 未结 7 978
北荒
北荒 2020-12-04 17:57

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, \

相关标签:
7条回答
  • 2020-12-04 18:16

    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

    0 讨论(0)
  • 2020-12-04 18:22

    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

    0 讨论(0)
  • 2020-12-04 18:30

    you need to download and install jdk from here

    0 讨论(0)
  • 2020-12-04 18:32

    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

    0 讨论(0)
  • 2020-12-04 18:39

    Eclipse: failed to create the java virtual machine – message box

    1. Open folder with Eclipse.exe and find eclipse.ini file
    2. 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"
      
    0 讨论(0)
  • 2020-12-04 18:42

    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

    0 讨论(0)
提交回复
热议问题