1、进入eclipse安装目录 [victor@hadoop102 ~]$ cd /opt/module/eclipse/ [victor@hadoop102 ~]$ pwd /opt/module/eclipse 2、进入eclipse 配置文件目录 [victor@hadoop102 eclipse]$ cd configuration\.settings [victor@hadoop102 ~]$ pwd /opt/module/eclipse/configuration/.settings [victor@hadoop102 .settings]$ ll org.eclipse.ui.ide.prefs 3、编辑配置文件,删除多余工作空间 [victor@hadoop102 .settings]$ vim org.eclipse.ui.ide.prefs MAX_RECENT_WORKSPACES=10 RECENT_WORKSPACES=/opt/module/workspace/eclipse RECENT_WORKSPACES_PROTOCOL=3 SHOW_RECENT_WORKSPACES=false SHOW_WORKSPACE_SELECTION_DIALOG=true eclipse.preferences.version=1