Spket IDE 启动时弹出:
JVM terminated. Exit code=1
/usr/java/jdk1.6.0_18/jre/bin/java
-Xms128m
-Xmx256m
-jar /home/alex/Application/spket/plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar
-os linux
-ws gtk
-arch x86
-showsplash
-launcher /home/alex/Application/spket/spket
-name Spket
--launcher.library /home/alex/Application/spket/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.0.v20070606/eclipse_1017a.so
-startup /home/alex/Application/spket/plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar
-exitdata 156802b
-vm /usr/java/jdk1.6.0_18/jre/bin/java
-vmargs
-Xms128m
-Xmx256m
-jar /home/alex/Application/spket/plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar
hs_err_pid*.log
# JRE version: 6.0_18-b07
# Java VM: Java HotSpot(TM) Server VM (16.0-b13 mixed mode linux-x86 )
# Problematic frame:
# C [libxul.so+0xa62a2a]
#
# 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 (0xb6a05000): JavaThread "main" [_thread_in_native, id=16472, stack(0xb6b6c000,0xb6bbd000)]
siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x0c830078
Registers:
EAX=0x7510ff55, EBX=0x07b8af44, ECX=0x00000004, EDX=0x070499b6
ESP=0xb6bb9cb0, EBP=0xb6bb9cc8, ESI=0xb6bbae48, EDI=0x0c830080
EIP=0x0737da2a, CR2=0x0c830078, EFLAGS=0x00210202
Top of Stack: (sp=0xb6bb9cb0)
0xb6bb9cb0: c7e91aa8 00000000 b6bb9cf8 00000004
0xb6bb9cc0: b6bbae48 070489b6 b6bb9d18 0737dde0
0xb6bb9cd0: b6bb9cf4 00000000 00000000 07b8af44
0xb6bb9ce0: b6bb9de8 b6bb9d50 070499b6 00000000
0xb6bb9cf0: 98087d30 00000000 00000000 00000000
0xb6bb9d00: b6bb9d50 07b8af44 0737ddad 07b8af44
0xb6bb9d10: 00001000 070489b6 b6bb9db8 0737e5d4
0xb6bb9d20: 00001000 9653d8f0 07351a9f 07b8af44
解决方法:xulrunner 软件中有一个libxul.so
在自己的系统中找到一个xulrunner所在的路径
比如我的/usr/lib/xulrunner-1.9.1/.
用文本编辑器打开spket目录下的spket.ini在最后增加以下内容:
-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-1.9.1/