Eclipse indigo won't start in Windows 7

老子叫甜甜 提交于 2019-12-11 08:11:26

问题


Eclipse indigo won't start in Windows 7 (first launch), the splash screen appears, stays there and nothing happens afterwards.

So far I tried the following:

  • reinstall Java 6
  • Add vm parameter to eclipse.ini (to the right javaw.exe path). In this case no splash screen and eclipse.exe and javaw.exe are available in Taskmanager.
  • launch eclipsec.exe instead of eclipse.exe
  • launch eclipse.exe -clean
  • increase -Xmx384m parameter
  • launch eclipse.exe in Admin Mode

No luck

My config:

  • Eclipse Indigo Java Edition (32bits)
  • Windows 7 (32bits)

Any help would be appreciated


回答1:


1) Since you've not had any luck so far, please try deleting, rebooting, and reinstalling Eclipse:

  • delete your Eclipse install directory

  • delete Eclipse workspace directory (EX: c:\users\MYUSERNAME\Workspace)

  • reboot your PC

  • reinstall Eclipse.

2) Try starting Eclipse from a command prompt; see if you get any errors.

  • Check your Workspace. Verify that it exists, that it's writable.

3) See if you have any logs under your workspace

  • EXAMPLE: c:\users\MYUSERNAME\Workspace\.metadata.log

4) Follow the suggestions here:

  • http://www.eclipsezone.com/eclipse/forums/t99010.html



回答2:


Well something i didn't consider was the performance of the computer i was trying to start eclipse on.

The %TEMP% directory was full (300k+ files) and no java program could start as it takes a lot of time to access temporary files folder.

If i waited longer It might have started after 30-40min.

Now as i used the Disk Clean utility, eclipse starts normally in reasonable time.




回答3:


After trying some tricks such as eclipse -clean, or eclipse -debug -console, searching for hints in the log files, removing xulrunner from the java.library.path environment, deleting some of the most recent history files and so on I found the solution. In your workspace directory perform the following steps:

cd .metadata/.plugins

mv org.eclipse.core.resources org.eclipse.core.resources.bak

Start eclipse. (It should show an error message or an empty
workspace because no project is found.)

Close all open editors tabs.

Exit eclipse.

rm -rf org.eclipse.core.resources (Delete the newly created
directory.)

mv org.eclipse.core.resources.bak/ org.eclipse.core.resources
(Restore the original directory.)

Start eclipse and start working. :-)


来源:https://stackoverflow.com/questions/12333891/eclipse-indigo-wont-start-in-windows-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!