近日,Eclipse經(jīng)常掛掉,都是由于JVM崩潰的原因。每次都有以下錯(cuò)誤日志:
#
# 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.
#
非常的郁悶, 后來(lái)Google了一痛,發(fā)現(xiàn)如下方法可以解決:
在Eclipse的啟動(dòng)參數(shù)中加入:
-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-1.9/
然后問(wèn)題就解決了。
新聞熱點(diǎn)
疑難解答
圖片精選