eclipse 适用于 Windows 的 ADT 包安装指南

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/13507359/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 19:28:18  来源:igfitidea点击:

Installation guide for ADT bundle for windows

androideclipse

提问by Tanvir

Recently, there's a new android SDK- "ADT bundle for windows" which includes everything but jdk. Thats why when I run eclipse, it says-" JRE / JDK must be available to run eclipse, No JRE/JDK found in ...[my unzipped folder location]" I tried adding the following (at the begining) line in eclipse.ini, but to NO avail.

最近,有一个新的 android SDK-“ADT bundle for windows”,它包含除 jdk 之外的所有内容。这就是为什么当我运行 eclipse 时,它​​说-“JRE/JDK 必须可用于运行 eclipse,在 ...[我的解压缩文件夹位置] 中找不到 JRE/JDK”我尝试在 eclipse 中添加以下(在开头)行.ini,但无济于事。

--vm C:\Program Files\Java\jdk1.7.0_06

--vm C:\Program Files\Java\jdk1.7.0_06

What should I do to run eclipse bundle.

我应该怎么做才能运行 eclipse 包。

回答by saasthasoft

it should be: -vm "C:\Program Files\Java\jdk1.7.0_06\bin\javaw.exe"

它应该是:-vm "C:\Program Files\Java\jdk1.7.0_06\bin\javaw.exe"

PS: It is better for JDK home not having spaces, like in 'Program Files' !!

PS:JDK home 最好不要有空格,比如“Program Files”!!

Refer this Link

参考这个链接