“eclipse 可执行启动器无法找到其配套共享库”

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/39852927/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 23:18:26  来源:igfitidea点击:

"The eclipse executable launcher was unable to locate its companion shared library"

javaeclipse

提问by DragonHeart000

Firstly I know there are a lot of people asking this already and I have checked all of them and none of them have fixed my issue.

首先,我知道已经有很多人在问这个问题,我已经检查了所有人,但没有一个人解决了我的问题。

Whenever I try to open Eclipse Neon I get this error

每当我尝试打开 Eclipse Neon 时,我都会收到此错误

The eclipse executable launcher was unable to locate its companion shared library

eclipse 可执行启动器无法定位其配套共享库

As said I have tried the fixes I have seen online including uninstalling Eclipse and java then reinstalling.

如前所述,我已经尝试了我在网上看到的修复程序,包括卸载 Eclipse 和 java 然后重新安装。

Eclipse was working a few weeks back but stopped when a windows update failed and I reverted to a previous state of windows. That's the only thing I can think of that may have caused this.

Eclipse 几周前还在工作,但在 Windows 更新失败时停止了,我恢复到以前的 Windows 状态。这是我能想到的唯一可能导致这种情况的原因。

回答by Bludzee

This solution worked for me:

这个解决方案对我有用:

As administrator (on MS-Windows, or as rootor using sudoon GNU/Linux):

作为管理员(在 MS-Windows 上,或在 GNU/Linux 上作为root或使用sudo):

  1. uninstall* Eclipse

    • in the Eclipse installer "Bundle Pool" menu: "Cleanup Agent" then "Delete"

    • quit the installer

    • manually remove the existing installation folder if needed

  2. start the Eclipse installer

  3. turn off the "Bundle Pools" feature(in the installer menu)

  4. select the Eclipse flavor (e.g: Eclipse IDE for Java developers)

  5. select "Install"

  1. 卸载* Eclipse

    • 在 Eclipse 安装程序的“捆绑池”菜单中:“清理代理”然后“删除”

    • 退出安装程序

    • 如果需要,手动删除现有的安装文件夹

  2. 启动 Eclipse 安装程序

  3. 关闭“捆绑池”功能(在安装程序菜单中)

  4. 选择 Eclipse 风格(例如:面向 Java 开发人员的 Eclipse IDE)

  5. 选择“安装”

As a plain user:

作为普通用户:

  1. start Eclipse
  1. 启动 Eclipse


Side comments:

侧面评论:

The Eclipse installer is maybe powerful, but in practice it is painful:

Eclipse 安装程序可能很强大,但在实践中却很痛苦:

  • if one doesn't pay extra attention when running the installer several times, you soon have several install directories without noticing (java-neon, java-neon2, java-neon3) instead of a single updated folder

  • the proxy manager is buggy (I couldn't get it to work in my GNU/Linux environment, I had to set http_proxyand https_proxymyself in a terminal and then launch the installer)

  • 如果在多次运行安装程序时没有特别注意,您很快就会有几个安装目录而不会注意到(java-neon、java-neon2、java-neon3)而不是一个更新的文件夹

  • 代理经理越野车(我无法得到它的工作在我的GNU / Linux环境下,我必须设置http_proxyhttps_proxy自己在一个终端,然后启动安装程序)

I find it was easier in the past to install Eclipse, when there was no installer and only tar.gz or ZIP file to extract.

我发现过去安装 Eclipse 更容易,当时没有安装程序,只有 tar.gz 或 ZIP 文件可以解压缩。

回答by DoesEatOats

Apparently the zip file was missing or contained a corrupted jar file and its associated directory. So I grabbed one from and older version of STS. I can now open STS. The version is: Spring Tool Suite 3.9.8\sts-bundle\sts-3.9.8.RELEASE

显然 zip 文件丢失或包含损坏的 jar 文件及其相关目录。所以我从旧版本的 STS 中抓取了一个。我现在可以打开 STS。版本为:Spring Tool Suite 3.9.8\sts-bundle\sts-3.9.8.RELEASE