The right solution to eclipse's flash-back problem

Source: Internet
Author: User
Tags ini xmi file
the right solution to eclipse's flash-back problem

I am a senior student, recently learning to use the Eclipse Android development, these two days in the eclipse development process with a sudden flash of the phenomenon. Using the software will be a few minutes to flash, and the code will not automatically save, let me more helpless, rewrite the code several times, fortunately not much. Baidu on the Internet today on the solution of the Great God (I believe many people and I use these methods are not feasible), now special summary of several solutions and I tried the effect, and I finally adopted the positive solution (for me):

1-by typing "where Java" on the command line, find all Java-related programs except the JDK directory, and delete them directly (usually under C:\WINDOWS\system32)
2-out of memory, open Eclipse.ini in Eclipse directory and change the-xmx512m inside to-xmx256m
3-Check the environment variable, the PATH variable places the JDK path in the front (".;" at the beginning) Directly behind)
4-Check the environment variables, the PATH variable places the JRE path in the JDK at the front (".;" at the beginning) Directly behind)
5-Copy the JRE directory under the JDK directory directly to the Eclipse directory
6-delete file: [Workspace]/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi

The methods provided by the great God above, I tried the 1th, 2, 6 methods (other too troublesome, also afraid of the mistake), and no use, will still flash back. The 6th method, after deleting the Workbench.xmi file, the flash back time extended a little, but after a while, the system automatically in the same directory generated a new Workbench.xmi file, why and X ... Later asked the teacher, the teacher did not know, just suggested that I reload the software.

OK, say the point, then I used the following method, and no flash back, you can refer to the great God:

Add-dorg.eclipse.swt.browser.defaulttype=mozilla to the Eclipse.ini file

Then open the eclipse--menu bar Project--clean

OK, perfect solution.

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.