[英]OSX 10.9 Mavericks and Eclipse Kepler (4.3.2) or M6 Eclipse Luna (4.4)
How to get Eclipse running on OSX 10.9? 如何使Eclipse在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?
我已经尝试了该线程中提到的一些解决方案,但无济于事: 如何使用针对Mac的Oracle新的1.7 JDK运行Eclipse?
vm /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/bin/java
just before the -vmargs
vm /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/bin/java
-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. 编辑Info.plist并将完整路径添加到Oracle SDK,通过双击并成功打开语法来检查语法是否正确,并验证路径是否正确。
adding 4 capabilities to the JDK: 向JDK添加4种功能:
<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 就运行自定义外壳脚本而言,无用的公认解决方案无济于事:外壳脚本内容(正确的SDK /启动器路径): 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
Similar question to this thread: Mavericks and JVM Alert 与此线程类似的问题: Mavericks和JVM Alert
I have the Oracle JDK 1.7: https://www.dropbox.com/s/jqe6pih8wiwzygk/Screenshot%202014-03-29%2000.16.52.png 我有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 显然,这是唯一的Java SDK安装: 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 我可以在终端中运行java和javac,还设置了$ JAVA_HOME: 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 这是我得到的错误: 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. 我使用的是运行Mavericks 10.9.2的Macbook Pro 2010年中型号,并试图使提到的Eclipse版本运行,但实际上使它变得不可能。 How to unfrak this clusterfrak?
如何取消集群错误?
The error message is pointing to an openJDK install not the Oracle install. 错误消息指向的是openJDK安装,而不是Oracle安装。
The eclipse.ini entry must have -vm on a separate line from the path eclipse.ini条目的路径中必须在单独的行上带有-vm
-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. 尽管如果正确的Java是默认的Java,则没有必要。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.