Whenever I start up Eclipse Juno, it gives me an error saying:
An error had occured. Please see the log file:
C:\\Program Files\\eclipse\\
This instruction works 100% for me:
Enjoy!
In my case I didn't want to remove eclipse because in corporate world we can't control everything. Also deleting some files from workspace .matadata
could not help. So below hack that I found with trial and error worked for me perfectly :
Go to this path: C:\....\eclipse-Luna\configuration\org.eclipse.core.runtime\
now delete .manager
completely.
Start eclipse again and woilaa.. it will run normally.
[In my case, I use eclipse luna. I once abruptly closed the PC when eclipse was open. Then eclipse was not able to start on the next system restart. So keep in mind to close eclipse properly. :)
]
Deleting metadata folder might not work in this case. Or eclipse -clean command. Or reinstall eclipse might not solve this.
Instead try deleting other java versions you might have in your machine.
Check what you have right now using this:
/usr/libexec/java_home -V
Delete other java versions which you don't want, following below command:
sudo rm -rf /System/Library/Java/JavaVirtualMachines/java-version.jdk
This should resolve your issue.
In my case my JAVA_HOME was pointed to jdk9 after pointing JAVA_HOME to jdk8 resolved my issue. Hope it helps someone.
I had the exact same problem and fixed it by deleting the file .metadata/.plugins/org.eclipse.core.resources/.snap
.
It worked for me when I went to WorkSpace\.metadata\.plugins\org.eclipse.e4.workbench
and then remove the *.xmi files.