Eclpse and myeclipse crash JVM terminated. Exit code = 1 Solution

Source: Internet
Author: User
Tags sybase database
After ec3.2, myec5.5, and jdk6.10 are used, the EC crashes. Sometimes, during compilation or use, the system will force exit. The error message is as follows:
JVM terminated. Exit code = 1
C:/jdk6_10/bin/javaw.exe
-Dosgi. splashlocation = D:/myeclipse55/Eclipse/myeclipsesplash.bmp
-Xms128m
-Xmx512m
-Jar E:/Eclipse/startup. Jar
-OS Win32
-Ws Win32
-Archx86
-Launcher E:/Eclipse/eclipse.exe
-Name eclipse
-Showsplash 600
-Exitdate 3a4_80
-Vm c:/jdk6_10/bin/javaw.exe
-Vmargs
-Dosgi. splashlocation = D:/myeclipse55/Eclipse/myeclipsesplash.bmp
-Xms128m
-Xmx512m
-Jar E:/Eclipse/startup. Jar
The environment was rebuilt, and even the system was reinstalled. Finally, the solution was as follows:
1. In eclipse -- window -- preferences -- Java -- installed
Add the JDK path of 1.5 + on your machine under jres and remove the old version
2. Use editplus to edit the eclipse. ini file in the eclipse installation directory and change the parameters:
-Vm = C:/jdk6_10/bin/javaw.exe # depending on your JDK path

-Vmargs # The following parameters determine the proper size based on the memory size.

-Xms128m
-Xmx512m
-XX: permsize = 64 m

-XX: maxpermsize = 128 m

3: it is best for people who have installed orcale to reset the environment variable: Set
Path = D:/program files/Java/jdk1.5.0 _ 06/bin. I am using the sybase database. I suspect the problem is related to the environment variables automatically added when installing Sybase, but not tested.

After the above settings, the problem is fixed and you can work with peace of mind!

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.