简体   繁体   English

为什么Eclipse无法与Android SDK一起使用?

[英]Why does Eclipse not work with Android SDK?

So I downloaded the entire SDK file with eclipse and all that, extracted the main file to my desktop, but when I try to open Eclipse from the folder, it gives me this convoluted list of errors. 因此,我用eclipse等下载了整个SDK文件,并将主文件提取到了我的桌面上,但是当我尝试从该文件夹中打开Eclipse时,它给了我这个复杂的错误列表。 Including "Error: opening registry key 'Software\\JavaSoft\\Java Runtime Environment', Could not find java.dlll, Could not find Java SE Runtime Environment, and then it gives me a list of things I don't understand in a window. SDK: 包括“错误:打开注册表项'Software \\ JavaSoft \\ Java Runtime Environment”,找不到java.dlll,找不到Java SE Runtime Environment,然后它在窗口中列出了我不了解的内容。 SDK:

http://developer.android.com/sdk/index.html#download

Could this be related at all to me using JCreator for my main IDE and I have the JCreator JDK and stuff? 可以将JCreator用于我的主IDE与我完全相关,并且我拥有JCreator JDK和其他东西吗? I didn't associate them with each other, but could just having a different JDK on your computer mess everything up? 我没有将它们彼此关联,但是在您的计算机上拥有一个不同的JDK可以使所有内容混乱吗?

您可以通过“控制面板”⇒“系统”⇒(Vista / 7/8)“高级系统设置”永久设置PATH以包括JDK的“ bin”目录⇒切换到“高级”选项卡⇒“环境变量”⇒在“系统变量”(适用于所有用户)⇒选择变量“ PATH”⇒选择“编辑”(用于修改现有变量)⇒在“值”中,插入JDK的“ bin”目录(例如,“ c:\\ Program Files \\ Java” \\ jdk1.7.0_ {xx} \\ bin“),后跟分号“;”,位于所有现有PATH条目的上方。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM