一、问题现象

笔者今天打开电脑兴致勃勃地启动Eclipse时,突然发现软件打不开了。报了如下的一个错误:
The Eclipse execute launcher was unable to locate its companion shared library
Eclipse启动报“The Eclipse execute launcher was unable to locate its companion shared library”的解决方案(已解决)_eclipse
排查了半天,打开Eclipse安装目录下的eclipse.ini文件看了看:
Eclipse启动报“The Eclipse execute launcher was unable to locate its companion shared library”的解决方案(已解决)_软件测试_02
发现其中存在中文字符,感觉有可能是因为我的launcher.library路径里存在中文,导致文件读取存在问题。于是稍加思考,有了如下的解决方案:

二、解决方案

将这个文件夹(也就是eclipse.ini文件中的launcher.library路径):

C:\Users\綦\.p2\pool\plugins\org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.551.v20171108-1834

整个复制到另外一个全英文路径下,比如:

E:\Eclipse\java-oxygen\org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.551.v20171108-1834

然后将eclipse.ini文件中的launcher.library路径换成这个全英文路径。保存。
Eclipse启动报“The Eclipse execute launcher was unable to locate its companion shared library”的解决方案(已解决)_解决方案_03
再次双击Eclipse启动图标,成功启动,问题解决。


软件测试工程师一只,也在不断的学习阶段,平时的小经验不定期分享。
博主经验有限,若有不足,欢迎交流,共同改进~
乾坤未定,你我皆是黑马