LINUX eclipse 运行报错问题

时间:2022-03-10 17:06:35

报如下错误

Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again



解决办法

在eclipse.ini

中添加 红色标注部分就可以解决问题


--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140603-1326
-product
org.eclipse.epp.package.cpp.product
--launcher.defaultAction
openFile
-showsplash
--launcher.GTK_version 2
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
-vmargs
-Dosgi.requiredJavaVersion=1.7
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m