简体   繁体   English

eclipse和JRE / JDK出现问题

[英]Trouble with eclipse and JRE/JDK

I've downloaded everything. 我已经下载了所有内容。 I've got the ADT bundle from the developer site properly downloaded. 我已经从开发人员站点正确下载了ADT捆绑包。 I have the SDK tools downloaded and properly installed as well. 我已经下载并正确安装了SDK工具。 When I start up eclipse, it tells me it cannot locate a JRE or JDK file. 当我启动eclipse时,它告诉我无法找到JRE或JDK文件。

At first, I went back to the website and it said to run the SDK tools executable file and it will automatically find and install the JDK file along with it. 首先,我回到网站,它说运行SDK工具可执行文件,它将自动查找并安装JDK文件。 When you execute, it brings up a little box and in the box it says it has in fact detected a JDK and it will install it too. 执行时,它会弹出一个小方框,并在方框中说实际上已经检测到JDK,并且也会安装它。

I've tried reinstalling and redoing this in many different ways, but nothing will work. 我尝试以许多不同的方式重新安装和重做此操作,但是没有任何效果。 Can someone point me in another direction or tell me a solution? 有人可以指出我的另一个方向还是告诉我解决方案?

Thanks in advanced. 提前致谢。

* EDIT * * 编辑 *

I've fixed the problem, but I am now encountering a different error message. 我已经解决了问题,但是现在遇到了另一条错误消息。 When I start up eclipse, it gives a message box that says: 当我启动Eclipse时,它会显示一个消息框:

Failed to load JNI shared library "path listed" 无法加载JNI共享库“列出的路径”

Man, man, man what do I do? 男人,男人,男人我该怎么办? This is extremely disheartening. 这非常令人沮丧。 I have no idea why my software is acting this way. 我不知道为什么我的软件会这样工作。 At school, in class - earlier today - all I did was simply follow the instructions on the developer website and installed the SDK bundle to a folder on the desktop class computer and everything worked just fine - like it was supposed. 在学校的课堂上(今天早些时候),我只需要按照开发者网站上的说明进行操作,然后将SDK捆绑包安装到台式机计算机上的文件夹中,一切就可以正常进行-就像应该的那样。

Please, please help me, someone! 请,请帮助我,有人!

You works on Windows? 您在Windows上工作吗?

Did you set you JAVA_HOME in your environment variables? 您是否在环境变量中设置了JAVA_HOME

检查您的eclipse.ini文件-vm arg必须指向有效的jvm.dll

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

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