OSX 10.9小牛和Eclipse开普勒(4.3.2)或M6 Eclipse Luna(4.4) [英] OSX 10.9 Mavericks and Eclipse Kepler (4.3.2) or M6 Eclipse Luna (4.4)
问题描述
- 编辑 eclipse.ini ,添加
vm / Library / Java / JavaVirtualMachines / 1.7.0.jdk / Contents / Home / bin / java
就在 -vmargs之前
-
编辑 Info.plist ,并将完整路径添加到Oracle SDK中,通过双击并成功打开语法来检查语法是否正确,验证路径是否正确。
-
向JDK添加4个功能:
< string> CommandLine< / string>
< string> JNI< / string>
< string> BundledApp< / string>
< string> WebStart< / string>
< string> Applets< / string>
-
就运行自定义shell脚本而言,接受的解决方案无效:
shell脚本内容(正确的SDK / Launcher路径):
https://www.dropbox.com/s/5we8kw3m3aeln0o/Screenshot%202014-03-29%2000.59.10.png
真棒的结果...没有:
https:/ /www.dropbox.com/s/u8uz7043yh2h42n/Screenshot%202014-03-29%2000.59.04.png
与此线程类似的问题:小牛和JVM警报
$我有Oracle JDK 1.7:https://www.dropbox.com/s/jqe6 pih8wiwzygk /截图%202014-03-29%2000.16.52.png
显然,唯一的Java SDK安装是:
< a href =https://www.dropbox.com/s/ijf31d957u0qujy/Screenshot%202014-03-29%2000.17.14.png =nofollow noreferrer> https://www.dropbox.com/s /ijf31d957u0qujy/Screenshot%202014-03-29%2000.17.14.png
我可以在终端中运行java和javac,还有$ JAVA_HOME也设置:
https:// www .dropbox.com / s / kzt2oaelkz1vq4o /截图%202014-03-29%2000.21.09.png
这是我得到的错误:
https://www.dropbox .com / s / sfv51e5s7m8lhi9 /截图%202014-03-29%2000.17.38.png
我在Macbook Pro 2010年中期运行小牛10.9.2并尝试获取提到的Eclipse运行的版本,不知何故几乎是不可能的。
如何解除此clusterfrak?
错误消息指向不安装Oracle的openJDK安装。 / p>
eclipse.ini条目必须在路径的单独一行上具有-vm
-vm
/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/bin/java
尽管如果正确的Java是默认的,那就不必要了。
How to get Eclipse running on OSX 10.9? I have tried some of the solutions mentioned in this thread to no avail: How do I run Eclipse using Oracle's new 1.7 JDK for the Mac?
- editing eclipse.ini, adding in
vm /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/bin/java
just before the -vmargs
editing the Info.plist and adding the full path to the Oracle SDK, checked if syntax was correct by double clicking and succesfully opening it and verified that the path was correct.
adding 4 capabilities to the JDK:
<string>CommandLine</string> <string>JNI</string> <string>BundledApp</string> <string>WebStart</string> <string>Applets</string>
The accepted solution, as far as running the custom shell script, to no avail: shell script contents (correct SDK / Launcher paths): https://www.dropbox.com/s/5we8kw3m3aeln0o/Screenshot%202014-03-29%2000.59.10.png the awesome result of.... nothing: https://www.dropbox.com/s/u8uz7043yh2h42n/Screenshot%202014-03-29%2000.59.04.png
Similar question to this thread: Mavericks and JVM Alert
I have the Oracle JDK 1.7: https://www.dropbox.com/s/jqe6pih8wiwzygk/Screenshot%202014-03-29%2000.16.52.png
It is, apparently, the only Java SDK installation: https://www.dropbox.com/s/ijf31d957u0qujy/Screenshot%202014-03-29%2000.17.14.png
I can run java and javac in the Terminal, have $JAVA_HOME set also: https://www.dropbox.com/s/kzt2oaelkz1vq4o/Screenshot%202014-03-29%2000.21.09.png
This is the error i am getting: https://www.dropbox.com/s/sfv51e5s7m8lhi9/Screenshot%202014-03-29%2000.17.38.png
I am on a Macbook Pro mid 2010 model running Mavericks 10.9.2 and trying to get the mentioned Eclipse versions running, which somehow is being made practically impossible. How to unfrak this clusterfrak?
The error message is pointing to an openJDK install not the Oracle install.
The eclipse.ini entry must have -vm on a separate line from the path
-vm
/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/bin/java
although if the correct Java is the default it should not be necessary.
这篇关于OSX 10.9小牛和Eclipse开普勒(4.3.2)或M6 Eclipse Luna(4.4)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!