- 论坛徽章:
- 0
|
1 环境:
CentOS5.2
jre-6u13-linux-i586.rpm
eclipse-cpp-ganymede-SR2-linux-gtk.tar.gz
2 步骤:
先解压jre到/usr/java下,然后设定环境变量,
JAVA_HOME=/usr/java/jre1.6.0_13
JAVA_BIN=$JAVA_HOME/bin
用alternatives 命令安装java。
启动Eclipse,出现蓝色界面,并询问workspace,选择/root/workspace,然后就出现一个窗口,接着就死掉了。
查看错误输出
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00dfb16f, pid=3637, tid=3086444752
#
# Java VM: Java HotSpot(TM) Client VM (11.3-b02 mixed mode, sharing linux-x86)
# Problematic frame:
# C [libgtk-x11-2.0.so.0+0xf716f] gtk_icon_set_render_icon+0x55f
#
# 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.
#
--------------- T H R E A D ---------------
Current thread (0x08ffa800): JavaThread "main" [_thread_in_native, id=3637, stack(0xbfda3000,0xbfdf3000)]
siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x00000008
不知道是什么原因,急人! |
|