我的Debian GNU/Linux的7.4(喘息)OS安裝在Oracle VirtualBox和:爲什麼我的Eclipse Luna 4.4與Oracle JDK8 64bit在Debian Wheezy 7.4上崩潰?
java version "1.8.0_11" Java(TM) SE Runtime Environment (build 1.8.0_11-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)
我下載的是Eclipse 4.4月神。當我試圖運行Eclipse發生了錯誤:
A fatal error has been detected by the Java Runtime Environment: SIGSEGV (0xb) at pc=0x00007f9e8a42173f, pid=10942, tid=140319582553856 JRE version: Java(TM) SE Runtime Environment (8.0_11-b12) (build 1.8.0_11-b12) Java VM: Java HotSpot(TM) 64-Bit Server VM (25.11-b03 mixed mode linux-amd64 compressed oops) Problematic frame: C [libgdk-x11-2.0.so.0+0x5173f] gdk_display_open+0x3f Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java
所以我在終端發出命令:
$ ulimit -c unlimited
$ ./eclipse
但是發生了一個錯誤:
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 (java:11276): GLib-GObject-WARNING **: cannot register existing type `GdkDisplayManager' (java:11276): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed (java:11276): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed (java:11276): GLib-GObject-WARNING **: invalid (NULL) pointer instance (java:11276): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed (java:11276): GLib-GObject-WARNING **: invalid (NULL) pointer instance (java:11276): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed (java:11276): GLib-GObject-WARNING **: cannot register existing type `GdkDisplay' (java:11276): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed (java:11276): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed (java:11276): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed (java:11276): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed A fatal error has been detected by the Java Runtime Environment: SIGSEGV (0xb) at pc=0x00007f216d28473f, pid=11276, tid=139782222493440JRE version: Java(TM) SE Runtime Environment
(8.0_11-b12)(build 1.8.0_11-b12) Java虛擬機:Java HotSpot(TM)64位服務器虛擬機(25.11-b03混合模式linux-amd64壓縮oops) 有問題的幀: C [libgdk-x11-2.0.so.0 + 0x5173f] gdk_display_open + 0x3f Core轉儲寫入。默認位置:/首頁/ ABCDEF/ECLIPSE_JAVA /月食/芯或core.11276
我也試圖通過增加來解決這個問題:
-Dorg.eclipse.swt.browser.DefaultType=mozilla
到的eclipse.ini,但事實並非如此幫幫我。
任何人都可以幫助我解決這個問題嗎?
嘗試:'SWT_GTK3 = 0/eclipse' –