eclipse - 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.
解决方案
--launcher.library
问题是文件中为参数设置的路径eclipse.ini
不正确。我通过比较另一个安装的 ini 文件发现了它。这个参数的路径被设置为一个相对路径,我用下面的绝对路径替换了它。
/home/<username>/.p2/pool/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.700.v20180518-1200
推荐阅读
- reactjs - 数组中的 immer push 如何触发 redux 中的更新
- ruby-on-rails - Rails 6 webpack不加载样式表+引导程序?
- python-requests - 请求返回不是实际值
- go - 分配给切片的值与指针
- javascript - Node.js/Express.js Ajax 不返回字符串
- tfs - 将代码从 TFS 移入 Azure DevOps 存储库,而不会丢失 TFS 历史记录
- python - 如何使用 Poetry 从现有项目中导入 requirements.txt
- java - 一些自定义属性不适用于 android
- html - 如何在Angular中添加滚动条?
- spring-security - Spring Security 保护路由 hasRole,hasAuthority 不适用于 CORS http 请求