1. 程式人生 > >LINUX eclipse 執行報錯問題

LINUX eclipse 執行報錯問題

報如下錯誤

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