Eclipse internal error while initializing Java tooling

前端 未结 21 2337
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-23 11:39

I am getting errors from Eclipse Indigo running on Windows 7 Ultimate. For each of the following items:

Android SDK content loader
Building workspace
Initial         


        
相关标签:
21条回答
  • 2020-12-23 11:58
    1. Close Eclipse.
    2. Go to workspace folder in windows explorer and delete following folders:
      • .metadata
      • .recommenders
      • RemoteSystemsTempFiles
      • Servers
    3. Open Eclipse and provide the same workspace folder again during launch.
    0 讨论(0)
  • 2020-12-23 11:59

    I was facing the same issue in eclipse so I am telling you the same step that I did you just need to go eclipse installed folder where you will find the file named eclipse.ini in my case the location was

    C:\Users\comp\eclipse\jee-2018-12\eclipse

    you can find your location.

    in that location, open eclipse.ini in text mode and there you will find some below text
    -Xms256m -Xmx1024m

    change it to

    -Xms512m -Xmx1024m

    I hope that will help you 100% as checked in my System ;-)

    0 讨论(0)
  • 2020-12-23 12:01

    NO Need to create another work-space and import all the projects from the older one : Just empty \Workspaces\MyEclipse 8.5 M2\.metadata\.plugins\org.eclipse.core.resources\.projects directory and restart myeclipse/eclipse

    0 讨论(0)
  • 2020-12-23 12:02

    In my case, I had two of three projects with this problem in my current workspace. I opened workspace catalog and made a backup of corrupted projects, deleted them afterwards. Then opened eclipse once again. Obviously there was missing data to work with. Closed eclipse once again and added back earlier saved projects without metadata catalogs.

    TL;DR. Just remove metadata catalogs from projects in your workspace.

    0 讨论(0)
  • 2020-12-23 12:04
    1. Check your Project -> Properties -> Java Build Path has JDK Library instead of JRE System Library.

    2. Go to Eclipse installed directory, Search eclipse.ini -> Open it

    Search lines for containing any below values:

    -Xms512m -Xmx512m -Xms1024m -Xmx1024m -Xms1G -Xmx1G

    Just double it the memory size, Assume you have to change the

    -Xms512m to -Xms1024m

    Increasing the eclipse memory size will help eclipse to gain more RAM size from your PC.

    0 讨论(0)
  • 2020-12-23 12:06

    Delete your existing workspace and then recreate the workspace and add your projects.

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