首页 > 解决方案 > Eclipse 不会在 Ubuntu 中重新启动

问题描述

我的机器上安装了 Ubuntu 16.04 和 Eclipse Oxygen 3.A。Eclipse 重新启动不起作用。Eclipse 关闭但不会通过“重新启动”菜单重新启动,也不会在应用程序需要重新启动时重新启动。

更新:我清除.metadata/.log然后从菜单中重新启动 Eclipse。像往常一样,Eclipse 关闭但没有重新启动。我必须通过单击任务栏上的图标来启动它。下面是我启动 Eclipse 时生成的日志。

!SESSION 2018-08-19 20:44:55.135 -----------------------------------------------
eclipse.buildId=4.7.3.M20180330-0640
java.version=1.8.0_181
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_IN
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.ui 2 0 2018-08-19 20:45:05.372
!MESSAGE Warnings while parsing the images from the 'org.eclipse.ui.commandImages' extension point.
!SUBENTRY 1 org.eclipse.ui 2 0 2018-08-19 20:45:05.372
!MESSAGE Cannot bind to an undefined command: plug-in='org.eclipse.lsp4e', id='org.eclipse.lsp4e.togglehighlight'

!ENTRY com.genuitec.eclipse.theming.ui 1 0 2018-08-19 20:45:08.115
!MESSAGE A DevStyle Theme is being activated on this workspace; preparing colors and configuration

!ENTRY com.genuitec.eclipse.theming.ui 1 0 2018-08-19 20:45:09.652
!MESSAGE DevStyle has archived current color configurations to alternate preferences - will be restored when switching out of the DevStyle Theme

!ENTRY com.genuitec.eclipse.patches 2 0 2018-08-19 20:45:13.331
!MESSAGE Patches instrumentation extension PerformanceJavaNavigatorContentProviderPatch ([31078] [Angular] Webclipse UI freezes constantly after closing/reopening Angular 2 projects) has not weaved class org.eclipse.jdt.internal.ui.navigator.JavaNavigatorContentProvider.

标签: eclipseubuntu-16.04

解决方案


--launcher.library问题是文件中为参数设置的路径eclipse.ini不正确。我通过比较另一个安装的 ini 文件发现了它。这个参数的路径被设置为一个相对路径,我用下面的绝对路径替换了它。

/home/<username>/.p2/pool/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.700.v20180518-1200

推荐阅读