"Dream" Eclipse causes Eclipse startup error after installing the MAVEN plugin

Source: Internet
Author: User

This article is purely copy and paste: For details, please refer to the original: Eclipse startup issue after Eclipse installs maven plugin:maven integration for Eclipse JDK Warning. Workaround: 1. Set up EclipseThe JRE used is native installed JDKContents: 1.1 In EclipseAdd two rows to the. ini

-vm

C:\Program files\java\jdk1.6.0_10\bin\javaw.exe

Note: To write in two lines, write on one line does not take effect, the two lines to be set before-vmargs, otherwise it will not take effect.

1.2 or set Eclipse--windows--preferences--java--installed jres to change the JRE home to the JDK directory.

The experiment found that step 1.2 can not be done, but it is recommended to configure the development environment is a step, and the first two lines can also be written

-vm

C:\Program files\java\jdk1.6.0_10\bin\

2. Configuration Eclipse. ini file: First explain the file-vmargs the common parameters under the meaning:-vmargs
-xms40m
-xmx256m
-xx:permsize=64m
-xx:maxpermsize=128m-vmargs: Description follows the parameters of the VM
-xms40m: Virtual machine occupies the minimum memory of the system, initial allocation
-xmx256m: Virtual machine occupies the maximum memory of the system, on demand
-xx:permsize: Minimum heap size. Generally reported insufficient memory, are said that this is too small, the remaining heap space is less than 5% will be warned, it is recommended to set this slightly
Larger, but not more than MaxPermSize, depending on the size of your machine's memory. -xx:maxpermsize: Maximum heap size.    This is also appropriate for larger, so if there is a problem, first adjust the-xms40m: set it smaller, you can solve the problem. PermSize and MaxPermSize refers to a virtual machine that allocates memory for these reflective objects, such as the Java permanently generated object (Permanate generation), which is not included in the heap memory area.

3. Solve the failed to creat Java Virtual machine problem:

Open the eclipse. ini file under the Eclipse installation directory and modify:

--launcher. Xxmaxpermsize

256M change to 128M;

--launcher. Xxmaxpermsize
256m

128m;

Refer to: http://blog.csdn.net/yuanfei_1988/archive/2010/10/02/5919168.aspx

"Dream" Eclipse causes Eclipse startup error after installing the MAVEN plugin

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.