Eclipse报错信息JVM terminated. Exit code=1
程序员文章站
2022-07-12 18:14:23
...
报错信息如下:
JVM terminated. Exit code=1
/usr/local/eclipse/jre/bin/java
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=@user.home/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-jar /usr/local/eclipse//plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
-os linux
-ws gtk
-arch x86_64
-showsplash /usr/local/eclipse//plugins/org.eclipse.epp.package.common_4.7.1.20170914-1200/splash.bmp
-launcher /usr/local/eclipse/eclipse
-name Eclipse
--launcher.library /usr/local/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.500.v20170531-1133/eclipse_1624.so
-startup /usr/local/eclipse//plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.appendVmargs
-exitdata 21000b
-product org.eclipse.epp.package.java.product
-vm /usr/local/eclipse/jre/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=@user.home/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-jar /usr/local/eclipse//plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
解决方法:应该是虚拟机中-Xms256m-Xmx1024m无法满足这两个值,尝试改变下eclipse安装目录下的eclipse.ini文件
仍然报错,但可以判断是内存不够的原因,因为用的是最新oxygen版本的eclipse,应该是虚拟机内存不够,再次尝试修改虚拟机内存。
修改为2048M,问题解决。
上一篇: 虚拟机中linux系统网络的配置
下一篇: 杂谈
推荐阅读
-
Eclipse报错信息JVM terminated. Exit code=1
-
eclipse 3.5.2 启动报错 jvm terminated exit code = -1
-
eclipse为何无法打开?JVM terminated. Exit code=1
-
eclipse 3.5.2 启动报错 jvm terminated exit code = -1
-
flex builder3无法启动报错JVM terminated. Exit code=1 FlexJVMSVNEclipse
-
flex builder3无法启动报错JVM terminated. Exit code=1 FlexJVMSVNEclipse