当前位置: 首页 > 新闻动态 > 软件编程

java 解决Eclipse挂掉问题的方法

作者:用户投稿 浏览: 发布日期:2026-01-16
[导读]:本篇文章是对在java中解决Eclipse挂掉问题的方法进行了详细的分析介绍,需要的朋友参考下

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

然后问题就解决了。

免责声明:转载请注明出处:http://m.lexweb.cn/news/144800.html

扫一扫高效沟通

多一份参考总有益处

免费领取网站策划SEO优化策划方案

请填写下方表单,我们会尽快与您联系
感谢您的咨询,我们会尽快给您回复!