日期:2014-5-16 浏览次数:20138次

Eclipse在linux下启动报错

Linux下启动Eclipse报错如下:

?

#
# A fatal error has been detected by the Java Runtime Environment:
#
#? EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c9310d4, pid=2604, tid=3664
#
# JRE version: 6.0_24-b07
# Java VM: Java HotSpot(TM) Client VM (19.1-b02 mixed mode, sharing windows-x86 )
# Problematic frame:
# C? [ntdll.dll+0x110d4]
#
# 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.
#

?

 A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x4b303787, pid=1981, tid=3078125248
#
# JRE version: 6.0_25-b06
# Java VM: Java HotSpot(TM) Client VM (20.0-b11 mixed mode, sharing linux-x86 )
# Problematic frame:
# C  [libxul.so+0xd5c787]  CERT_GetCommonName+0xd5c787

?

更正方式如下:

在eclipse.ini的文件里面加上下面两句,应该就没问题了。如果还有问题,我也不知道什么情况。

Fedora 15 我还没开始使用啊。 忙着呢

-Dorg.eclipse.swt.browser.UseWebKitGTK=true

-Dorg.eclipse.swt.browser.XULRunnerPath==/usr/lib/xulrunner-2.0

?

验证并已经成功启动!

?

原帖请访问:http://www.oschina.net/question/101155_20783