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

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

The Eclipse executable launcher was unableto locate its companion shared library

Eclipse可执行文件启动器无法找到其随播共享库

网上大多数的答案就是修改eclipse.ini文件内记录的路径,我也试过了,但是没有用,还是报同样的错,没办法,Google了一把,去国外的论坛溜了一圈,下面是博主的一些记录和解决方法:
网上大多数的答案(唉,除了抄袭就是抄袭)

一、打开eclipse目录下的配置文件eclipse.ini。

二、将–launcher.library和-startup下面的路径都改为当前的正确路径。

如我的eclipse的存放路径由D:\ProgramFiles\改为D:\,则将路径里eclipse前的“Program Files\”去掉即可。

如果要在eclipse打开时显示工作路径对话框,则有两种解决方法:

方法一、关闭Eclipse并打开eclipse的安装目录,依次打开以下目录,configuration.settings文件夹下有一个文件org.eclipse.ui.ide.prefs,用记事本打开,将下列红色字符改为true即可:SHOW_WORKSPACE_SELECTION_DIALOG=true

方法二、设置方法如下:依次打开Window -> Preferences-> General -> Startup and Shutdown 。然后勾选Confirmexit when closing last window复选框即可。或者点击Restore Defaults按钮。

另外我在Stack Overflow Community上查到导致该问题的原因是非常过的,其中包括Windows系统自身问题(这个可能需要系统修复)。还有就是压缩软件问题,比如外国的有个名字为“7-zip”的压缩工具解压eclipse压缩包极可能会导致该问题,建议就是使用WinRAR压缩工具。至于为什么,应该是某些压缩软件会导致解压后的文件系统发生变化。

(using cygwin and gunzip or unzip to set up youreclipse environment the permissions on the .exe and .dll files will beincorrect and the JVM will not run them properly.

使用cygwin和gunzip或解压缩设置您的eclipse环境.exe和.dll文件的权限将不正确,JVM将不会运行它们正确)

上面都是屁话,本人亲测,没有任何用处,除了让自己更懵逼,最简单的办法就是下载一个电脑管家,在上面重新安装一个

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