Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the solution to the JVM Terminated.ExitCode=-1 problem?

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article shows you what the solution to the JVM Terminated.ExitCode=-1 problem is. The content is concise and easy to understand. It will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

After using Ec3.2, MyEc5.5, JDK6.10, Ec always crashes, and sometimes when compiling or using, it will be forced to exit.

Start the solution of MyEclipse Times JVM Terminated.ExitCode=-1

Error message that appears:

JVM Terminated.Exitcode=1 C:\ j2sdk1.4.2_08\ bin\ javaw.exe-Xms40m-Xmx256m-jarstartup.jar-oswin32-wswin32-archx86-launcherC:\ ProgramFiles\ eclipse\ eclipse.exe-nameEclipse-showsplash700-exitdatef8c_d0-vmC:\ j2sdk1.4.2_08\ bin\ javaw.exe-vmargs-Xms40m-Xmx256m-jarstartup.jar

It is very distressing that most people's solution to the JVM Terminated.ExitCode=-1 problem is to add startup parameters directly to the shortcut. In fact, this prompt message is misleading to everyone.

This prompt is due to the fact that you have set the startup parameters of Eclipse incorrectly. For example, set the parameters of the virtual machine in the eclipse.ini file under the installation directory of Eclipse, and the startup parameters of eclipse in the configuration\ config.ini file under the installation directory of Eclipse. The above error will occur if you set the startup parameters to the eclipse.ini file.

Viewplaincopytoclipboardprint?

-clean-showsplash com.genuitec.myeclipse.product.ide-- launcher.XXMaxPermSize 256m-vmargs Xms128m Xmx512m-XX:PermSize=128M-XX:MaxPermSize=256M-clean-showsplash com.genuitec.myeclipse.product.ide-- launcher.XXMaxPermSize 256m-vmargs Xms128m Xmx512m-XX:PermSize=128M-XX:MaxPermSize=256M

Can I have your attention? There is no front of Xms128m and Xmx512m here.

The above content is what is the solution to the JVM Terminated.ExitCode=-1 problem? have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report