2017-06-04 76 views
0

我試圖通過「打開包內容」來打開Eclipse。 在此表示其之後的終端:Eclipse未在Mac中打開

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-64。 如何打開我的月蝕?

+0

這是你必須升級你的JDK搜索谷歌爲**類JavaLaunchHelper在這兩個實施**看細節知道錯誤 –

+0

https://stackoverflow.com/a/43003231/1167890 –

回答

0

您必須在eclipse.ini文件中添加-javaagent:../Eclipse/lombok.jar。這是/Users/mshikher/Downloads/eclipse/Eclipse.app/Contents/Eclipse/eclipse.ini

+0

但我之前擁有它......但現在我將它移除了,所以現在它的工作。 – user3608245