Eclipse没有在Mac上打开

时间:2017-06-04 13:32:49

标签: eclipse java-8

我试图通过"打开包内容"来打开Eclipse。 在它之后的终端显示:

186590d10a33:~ mshikher$ /Users/mshikher/Downloads/eclipse/Eclipse.app/Contents/MacOS/eclipse ; exit;
objc[9445]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/MacOS/libjli.dylib (0x100541480) and /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x1005a34e0). One of the two will be used. Which one is undefined.
Error opening zip file or JAR manifest missing : ../Eclipse/lombok.jar
Error occurred during initialization of VM
agent library failed to init: instrument
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

我使用的是jdk-8u131-macrosx-x64。 我怎么能打开我的日食?

1 个答案:

答案 0 :(得分:0)

您必须在-javaagent:../Eclipse/lombok.jar文件中添加eclipse.ini。它位于/Users/mshikher/Downloads/eclipse/Eclipse.app/Contents/Eclipse/eclipse.ini