How to solve JVM terminated. Exit code =-1 when myeclipse is started

Source: Internet
Author: User

Error message:
JVM terminated. Exit code = 1
C:/j2sdk1.4.2 _ 08/bin/javaw.exe
-Xms40m
-Xmx256m
-Jar startup. Jar
-OS Win32
-Ws Win32
-Arch x86
-Launcher C:/program files/Eclipse/eclipse.exe
-Name eclipse
-Showsplash 600
-Exitdate f8c_d0
-Vm c:/j2sdk1.4.2 _ 08/bin/javaw.exe
-Vmargs
-Xms40m
-Xmx256m
-Jar startup. Jar

 

The solution for most people is to directly add startup parameters to the shortcut. In fact, this prompt is misleading.

This prompt is because you have set the startup parameter of eclipse to an error. For example, set the Virtual Machine Parameters in the eclipse. ini file under the eclipse installation directory, and set the eclipse startup parameters in the configuration/config. ini file under the eclipse installation directory. If you set the startup parameters to the eclipse. ini file, the preceding error occurs.

 

-Clean <br/>-showsplash <br/> COM. genuitec. myeclipse. product. IDE <br/> -- launcher. xxmaxpermsize <br/> 256 m <br/>-vmargs <br/> xms128m <br/> xmx512m <br/>-XX: permsize = 128 M <br/>-XX: maxpermsize = 256 m <br/>

Do you notice? The xms128m and xmx512m are not in front of them.-

In fact, solving the problem is that simple .;)

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.