Display error message when open the eclipse: An error has occurred. See the log file null. How about this solution?

前端 未结 17 1136
耶瑟儿~
耶瑟儿~ 2021-02-05 20:00

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

相关标签:
17条回答
  • 2021-02-05 20:25

    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!!

    0 讨论(0)
  • 2021-02-05 20:25

    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.

    0 讨论(0)
  • 2021-02-05 20:27

    I deleted .metadata from the workspace and ran the eclipse as run as administrator and it worked for me.

    0 讨论(0)
  • 2021-02-05 20:29

    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
    
    0 讨论(0)
  • 2021-02-05 20:31

    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:

    1. compress your file .metadata backup
    2. copy file .zip
    3. paste file .zip to path/workspace
    4. double click file .zip
    5. done :-)
    0 讨论(0)
  • 2021-02-05 20:36

    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.

    0 讨论(0)
提交回复
热议问题