近日,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/

然后问题就解决了。

以上就是【java 解决Eclipse挂掉问题的方法】的全部内容了,欢迎留言评论进行交流!

赞(0) 踩(0)

与本文相关的软件

发表我的评论

最新评论

  1. 暂无评论