打开eclipse后,报错如下:
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb598deab, pid=2551, tid=2195983216
#
# JRE version: 7.0_04-b20
# Java VM: Java HotSpot(TM) Client VM (23.0-b21 mixed mode linux-x86 )
# Problematic frame:
# J org.apache.xerces.dom.AttributeMap.setNamedItem(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /usr/local/android/eclipse/hs_err_pid2551.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
已放弃 (core dumped)
而且发现,自动提示功能也不正常,中文输入在eclipse里输入不了。(其他地方可以自动输入)
原因是gtk和eclipse不兼容,需要更新。
解决方法:
切换到root,输入:yum install webkitgtk
关闭 终端后,重新打开,开启eclipse一切正常!但是在eclipse开发环境里用自带的ibus仍然输入不了中文。
解决见前文:http://blog.csdn.net/yanzi1225627/article/details/7770750