Linux Mint 运行Eclipse崩溃退出 Failed to write core dump. Core dumps have been disabled.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x6ce98991, pid=8881, tid=0xb6722b40
#
# JRE version: Java(TM) SE Runtime Environment (8.0_101-b13) (build 1.8.0_101-b13)
# Java VM: Java HotSpot(TM) Server VM (25.101-b13 mixed mode linux-x86 )
# Problematic frame:
# C  [libwebkitgtk-1.0.so.0+0x1d2991]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.

#


 原因是GTK与Eclipse不兼容,Eclipse默认使用webkitgtk,就是-Dorg.eclipse.swt.browser.DefaultType=webkit

而你的Linux的webkitgtk与Eclipse所需要的不兼容

解决办法是在eclipse.ini最后添加如下内容:


-Dorg.eclipse.swt.browser.DefaultType=mozilla


你可能感兴趣的:(环境与工具)