如何在Windows 7上安装JRE或JDK来运行Android Developer Tools?(How do I install a JRE or JDK to run the Android D

编程入门 行业动态 更新时间:2024-10-09 21:24:09
如何在Windows 7上安装JRE或JDK来运行Android Developer Tools?(How do I install a JRE or JDK to run the Android Developer Tools on Windows 7?)

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

Android开发人员网站“ 设置ADT软件包 ”:

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

...

安装SDK和Eclipse IDE

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

我的电脑,我执行了这些确切的步骤后:

Java运行时环境(JRE)或Java开发工具包(JDK)必须可用才能运行Eclipse。 搜索以下位置后,未找到Java虚拟机: C:\开发\ ADT-束 - 窗口x86_64-20130219 \日食\ JRE \ BIN \ javaw.exe的 当前路径中的javaw.exe

如何获取Java运行时环境或Java开发工具包,让我运行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 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"?)

最满意答案

你可以去这里下载Java JRE。

你可以去这里下载Java JDK。

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

右键单击我的电脑 单击属性 转到高级系统设置 单击高级选项卡 单击环境变量

编辑:查看环境变量的屏幕截图

在此输入图像说明

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:

Right-click My Computer Click Properties Go to Advanced System Settings Click on the Advanced tab Click on Environment Variables

EDIT: See screenshot for environmental variables

enter image description here

更多推荐

本文发布于:2023-08-02 09:56:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1372649.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:如何在   JRE   JDK   Android   Windows

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!