I use Windows 10 and jre1.8.0_51. I don\'t know why when I start Eclipse it always displays an alert message \"An error has occurred. See the log file null.\"
And I can
I encountered the same problem, and then I found out that, the eclipse distribution works fine with JDK 8. I previously ran JDK 10 and I got this error. Uninstalling JDK 10 and installing JDK 8 fixed the issue for me.
Hope this helps!!
I too got the same error in My Windows 10 pc while using Eclipse 2020 version
Just delete the .metadata folder and then try to run eclipse again it will solve the problem and run fine. .Metadata folder will get created once again by itself as we open eclipse.
I deleted .metadata
from the workspace and ran the eclipse as run as administrator and it worked for me.
Try to launch it from the console like:
C:\path\to\eclipse\eclipse -clean
Also you try to can delete the file to fix the problem permanently as suggested here. Command would be something like below for windows.
del YOUR_WORKSPACE/.metadata/.plugins/org.eclipse.core.resources/.snap
Here I'm just share, if you can not copy file .metadata on mac because that file invisible (JUST on Mac issue), try this step:
I too came across the same error. My log file says : Java.io.FileNotFoundException: C:\Eclipse\eclipse-jee-luna-SR2-win32-x86_64\eclipse\configuration\org.eclipse.osgi.manager.fileTableLock (Access is denied)
So, i copied entire eclipse in another folder and it worked for me.
So, for me the problem was write access, because eclipse need write across configuration folder, in my case eclipse was unzipped by some other user and i didn't have the access.