Java Eclipse 未在 OS X Mavericks 中启动?(没有一个退回或错误消息!)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/19569262/
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
Eclipse not Launching in OS X Mavericks? (Not a single bounce or error message!)
提问by ArtOfWarfare
When I try launching Eclipse in Mavericks it does nothing. Neither activity monitor nor console reflect my attempt to launch it in anyway. The icon doesn't bounce. No errors show up. No error sound. Just nothing.
当我尝试在 Mavericks 中启动 Eclipse 时,它什么也不做。活动监视器和控制台都没有反映我以任何方式启动它的尝试。图标不会弹跳。没有错误出现。没有错误声音。根本不值一提。
I have a few other programs exhibiting these same symptoms, such as NetExtender.
我还有一些其他程序表现出这些相同的症状,例如 NetExtender。
This is on a 2012 MBP (non Retina) with the version of Mavericks that was released to everyone through the MAS on October 22nd, 2013 (build 13A603... OS X 10.9.0).
这是在 2012 MBP(非 Retina)上的 Mavericks 版本,该版本于 2013 年 10 月 22 日通过 MAS 发布给所有人(build 13A603 ... OS X 10.9.0)。
Eclipse is version 4.3 NetExtender is version 6.0.719
Eclipse 是 4.3 版 NetExtender 是 6.0.719 版
Googling around, some people are suggesting the issue is with Java in Mavericks. I downloaded and installed the latest JDK (7.45) but that doesn't seem to have helped in anyway.
谷歌搜索,有些人认为问题出在 Mavericks 中的 Java 上。我下载并安装了最新的 JDK (7.45),但这似乎没有任何帮助。
采纳答案by DAVD
There should be a popup asking you to install a Java SE 6 runtime.
应该会有一个弹出窗口要求您安装 Java SE 6 运行时。
It didn't appear for me either at first but that might have been because some other windows was covering it, so I saw it when I restarted the computer, and it appeared again when opening eclipse after the restart.
一开始我也没有出现,但那可能是因为其他一些窗口覆盖了它,所以我在重新启动计算机时看到了它,并且在重新启动后打开eclipse时它又出现了。
Hope this helps!
希望这可以帮助!
回答by Bruno Grieder
If you are not prompted for it, Java 6 (1.6.0_65) can be installed on your system using this link.
如果没有提示您,可以使用此链接在您的系统上安装 Java 6 (1.6.0_65) 。
On a few of our systems an old and unusable but required (do not attempt to delete it!) version 1.6.0_45 remained after Mavericks upgrade.
在我们的一些系统上,在 Mavericks 升级后,旧的且无法使用但需要(不要尝试删除它!)版本 1.6.0_45 仍然存在。
回答by eljolge
If you launch eclipse with the Terminal with:
如果您使用终端启动 eclipse:
open Eclipse.app
and you get an "LSOpenURLsWithRole() failed with error -10810 for the file..." then you have to make the eclipse executable file actuallyexecutable.
并且你得到一个“LSOpenURLsWithRole() failed with error -10810 for the file...”然后你必须使eclipse可执行文件实际上是可执行的。
chmod +x Eclipse.app/Contents/MacOS/eclipse
That worked for me!
那对我有用!
回答by Ashok Madhuranath
This is specific to NIEM_UML version of Eclipse. When I double clicked on NIEM_UML.app on my Mac, it ended with a message that read "LSOpenURLsWithRole() failed for the application /Users//Desktop/NIEM/NIEM_UML.app with error -10810." I had to make set the executable property as below: chmod +x ./NIEM_UML.app/Contents/MacOS/niem_uml
这特定于 Eclipse 的 NIEM_UML 版本。当我在 Mac 上双击 NIEM_UML.app 时,它以一条消息结束,显示“LSOpenURLsWithRole() 应用程序 /Users//Desktop/NIEM/NIEM_UML.app 失败,错误 -10810”。我必须如下设置可执行属性: chmod +x ./NIEM_UML.app/Contents/MacOS/niem_uml
回答by Andrew
Upgrading from LUNA to MARS - http://download.eclipse.org/releases/mars- I ended up with the same error -10810.
从 LUNA 升级到 MARS - http://download.eclipse.org/releases/mars- 我最终遇到了同样的错误 -10810。
The Eclipse.app file had been corrupted and and was actually missing some of the package parts.
Eclipse.app 文件已损坏,实际上缺少一些包部分。
Thankfully, I had Time Machine running and just restored the previous version of the Eclipse.app file. Eclipse opened up fine.
值得庆幸的是,我运行了 Time Machine,并且刚刚恢复了 Eclipse.app 文件的先前版本。Eclipse 打开得很好。