eclipse版本:eclipse-jee-luna-R-linux-gtk-x86_64.tar.gz /etc/profile设置如下: 之后,进eclipse目录双击eclipse图标,出现报错:An error has occurred. See the log file null 通过终端./eclipse可以进入eclipse,但是终端有如下报错提醒: (java:5694): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (java:5694): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (java:5694): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed (Eclipse:5694): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion “”G_IS_DBUS_CONNECTION (connection)”” failed 进入后eclipse无菜单栏显示。。。 请问各位老师如何解决阿。。 |
|
你设置这个?
/etc/profile设置如下: export JAVA_HOME=/home/chimes/eclipse/jdk1.8.0_20 export JRE_HOME=/home/chimes/eclipse/jdk1.8.0_20/jre export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH 不用这个,你装完 jdk |
|
我是按网上一个教程来的,教程上会有设置这个profile的步骤,这个就是配置环境变量吧? |
|
40分 |
这个就是环境变量 |
我也是这个错误,你后来是怎么解决的?
|
|
同样遇到了类型的问题,感觉和m2e有关
|