系统版本:centos6.8
JDK 版本:jdk1.8.0_111
eclipse版本:eclipse neon.1
问题描述:
【1】在xwindow界面可以正常启动eclipse
【2】在命令行界面用./eclipse命令启动eclipse的时候界面提示错误信息如下:
Eclipse:Can not open display
Eclipse:
GTK+ Version Check
Eclipse:Can not open display:
org.eclipse.m2e.logback.configuration:the org.eclipse.m2e.logback.configuration bundle was activited before the state location was initialized. will retry after the state location is initialized.
Eclipse:
An error has occured .see the log file
/home/setup/eclipse/configuration/1478687****.log
【3】上述步骤中日志文件打开如下:
!SESSION 2016-11-09 02:32:15.379 -----------------------------------------------
eclipse.buildId=4.6.1.M20160907-1200
java.version=1.8.0_111
java.vendor=Oracle Corporation
BootLoader constants: OS