java 解决Eclipse挂掉问题的方法
程序员文章站
2023-12-13 21:15:22
近日,eclipse经常挂掉,都是由于jvm崩溃的原因。每次都有以下错误日志:## a fatal error has been detected by the java...
近日,eclipse经常挂掉,都是由于jvm崩溃的原因。每次都有以下错误日志:
#
# a fatal error has been detected by the java runtime environment:
#
# sigsegv (0xb) at pc=0x7bab036c, pid=12169, tid=3072990096
#
# jre version: 6.0_17-b04
# java vm: java hotspot(tm) server vm (14.3-b01 mixed mode linux-x86 )
# problematic frame:
# c [libxul.so+0xc8236c]
#
# if you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# the crash happened outside the java virtual machine in native code.
# see problematic frame for where to report the bug.
#
非常的郁闷, 后来google了一痛,发现如下方法可以解决:
在eclipse的启动参数中加入:
-dorg.eclipse.swt.browser.xulrunnerpath=/usr/lib/xulrunner-1.9/
然后问题就解决了。