如何安装 JRE 或 JDK 以在 Windows 7 上运行 Android 开发人员工具? [英] How do I install a JRE or JDK to run the Android Developer Tools on Windows 7?

查看:24
本文介绍了如何安装 JRE 或 JDK 以在 Windows 7 上运行 Android 开发人员工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的 Windows 7 计算机上安装 Android 开发者工具,以便我可以使用 Android 模拟器来测试网站.

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 开发者网站,设置 ADT 包":

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

ADT Bundle 提供了您开始开发应用所需的一切...如果您还没有,请下载 Android ADT Bundle.

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

...

解压缩 ZIP 文件(名为 adt-bundle-.zip)并将其保存到适当的位置,例如主目录中的开发"目录.打开 adt-bundle-/eclipse/目录并启动 eclipse.而已!IDE 已加载 Android 开发者工具插件,SDK 已准备就绪.

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:

Java 运行时环境 (JRE) 或 Java 开发工具包 (JDK) 必须可用才能运行 Eclipse.搜索以下位置后未找到 Java 虚拟机:
C:Developmentadt-bundle-windows-x86_64-20130219eclipsejreinjavaw.exe
当前 PATH 中的 javaw.exe

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

如何获得可以让我运行 Android 开发者工具包的 Java 运行时环境或 Java 开发工具包?

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"?)

推荐答案

你可以去这里 下载 Java JRE.

You can go here to download the Java JRE.

您可以去这里下载Java JDK.

You can go here to download the Java JDK.

之后,您需要在 Windows 中设置环境变量:

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

  1. 右键单击我的电脑
  2. 点击属性
  3. 转到高级系统设置
  4. 点击高级标签
  5. 点击环境变量

查看环境变量的截图

这篇关于如何安装 JRE 或 JDK 以在 Windows 7 上运行 Android 开发人员工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆