A variety of workarounds that eclipse cannot start

Source: Internet
Author: User

A variety of workarounds that Eclipse cannot start posted on2012-10-17 12:06 Zhou Coven Read (26816) Comment (0) Edit Collection

When the workspace is selected, Eclipse starts to load and starts, and at this stage there are frequent flash exits, which are mainly for two reasons:

Reason one, eclipse.ini configuration problem:

The memory may be too small, or the system itself is not enough memory, for example, my configuration is as follows:

-xms128m-xmx512m-xx:permsize=256m-xx:maxpermsize=512m-dorg.eclipse.swt.browser.defaulttype=mozilla

Specific configuration method and parameter description online a lot, no longer repeat.

Cause two, before the closing of the error, workspace problem:

The problem is tricky because it's hard to find out where the problem is, maybe it was wrong before, maybe a plugin bug, and so on.

The most ruthless solution is to delete the workspace/.metadata/directory, that is, to remove this workspace from Eclipse's memory, the disadvantage is to reload each project ...

One way to be popular online is to:

$ RM Your_project_dir/.metadata/.plugins/org.eclipse.core.resources/.snap

But I didn't succeed.

I used this method to succeed:

0, enter the workspace/.metadata/.plugins/directory 1. Rename org.eclipse.core.resources to Org.eclipse.core.resources_old.2. Start Eclipse3. Close Eclipse4. Delete org.eclipse.core.resources5. Rename Org.eclipse.core.resources_old back to ORG.ECLIPSE.CORE.RESOURCES6. Star Eclipse

This method is relatively perfect without reloading any items, recommended!

A variety of workarounds that eclipse cannot start

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.