Eclipse没有在Mac中打开
我试图通过“开放包内容”打开Eclipse。 在此之后,在终端中显示:Eclipse没有在Mac中打开,eclipse,java-8,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/Con
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。
如何打开eclipse?您必须在
eclipse.ini
文件中添加-javaagent:../eclipse/lombok.jar
。它位于/Users/mshikher/Downloads/eclipse/eclipse.app/Contents/eclipse/eclipse.ini
这是一个已知错误,您必须升级JDK搜索,google for Class JavaLaunchHelper在这两个版本中都实现了以查看详细信息