Debain啓動MyEclipse2015報錯:A fatal error has been detected by the Java Runtime Environment:

好不容易在Debain上安裝好了MyEclipse2015結果啓動時卻報出如下錯誤:

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

接着輸入命令
./myeclipse
此時如果順利打開myeclipse則出現讓你選擇工作目錄的界面,如果此時報信錯誤:
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

那麼請參考我的這篇博客進行處理:
 

(java:11276): GLib-GObject-WARNING **: cannot register existing type `GdkDisplayManager'


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章