The eclipse executable launcher was unable to locate its companion shared library как исправить

Обновлено: 02.07.2024

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

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

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

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.

696 2 2 gold badges 6 6 silver badges 18 18 bronze badges talex-Where are the logs? Joe-I will double check that I have not tried that already once I get back from classes and I can ask the teacher about it again. parashant thakre-I did redownload it from the eclipse website. show you eclipse.ini folder, and double check that the jar listed inside are correct (good path and good names)

Ошибка запуска исполняемого файла Eclipse: не удается найти сопутствующую общую библиотеку

исполняемая программа запуска Eclipse не смогла найти свою сопутствующую общую библиотеку.

Это звучит довольно плохо и странно. Но переустановка не так уж сложна-загрузите, распакуйте, измените выделение памяти по умолчанию, запустите Eclipse, установите необходимые плагины и функции.

и почти все важные настройки находятся в рабочей области. Единственное, что я могу придумать за пределами рабочей области, - это вышеупомянутое выделение памяти, которое вы можете установить в командной строке или в ECLIPSE.ini-файл.

Я только что столкнулся с такой же проблемой. Проблема для меня была Windows 7 по умолчанию распаковки программы. Он имеет проблему, когда он сталкивается с файлами, которые имеют глубокую структуру файлов. Я читал об этой проблеме некоторое время назад, но не могу вспомнить статью. Исправление для меня-распаковать загрузку Eclipse с помощью WinZip (или другого инструмента, у которого нет этой проблемы).

во время распаковки в директории cygwin на Win7, .exe и .dll нужно дать исполняемый режим. Это решение от мяты (или другого $TERM ) терминал работает с cygwin на windows 7:

пробовал с Juno (eclipse 4.2) недавно расстегнут, cygwin 1.7.что-то

еще одна проблема (с которой я столкнулся) заключается в том, что утилита распаковки Cygwin (UnZip 6.00 от 20 апреля 2009 года, Cygwin. Оригинал по Info-ZIP.) не всегда правильно распаковать все необходимое для Eclipse на самом деле запустить.

используя в 7-Zip v9.20 получил Eclipse Indigo (3.7.2) и работает для меня на Win7 64bit с 32bit JVM и 32bit Eclipse.

(первый раз, когда у меня когда-либо была ошибка распаковки Cygwin на мне. )

Я видел это в MacOS Sierra. Иногда распаковка приложения оставляет расширенные атрибуты, которые, похоже, препятствуют запуску. Следующая командная строка удаляет расширенные атрибуты и, похоже, устраняет проблему:

xattr -c Eclipse.app

Он также работает для других приложений, построенных на платформе eclipse.

32 Answers 32

I've just encountered the same issue. The problem for me was Windows 7 default unzipper program. It has a problem when it encounters files that have a deep file structure. I read about this issue some time ago but can't recall the article. Fix for me is to unzip the Eclipse download using WinZip (or some other tool which does'nt have this issue).


47k 128 128 gold badges 373 373 silver badges 666 666 bronze badges @yoshi glad it solved your issue,nice to know answering a question that has already been answered has proved useful Had this issue on XP, unzipped with 7-zip instead and now it launches. on XP 32 bit I had to: Move the zip file to the root. Rename it to e.zip. Open in it in 7Zip and rename the "eclipse" folder in there to "e". Unzip it - rename the extracted folder to "eclipse". Bonkers. Amazing. Here I am 4.5 years later, using Windows 10 with the latest upgrades, and still needing this answer. Microsoft really wants people using Linux I guess.

That sounds pretty bad and weird. But reinstalling isn't that hard - download, unzip, change the default memory allocation, run Eclipse, install necessary plugins and features.

And almost all of the important preferences are in your workspace. The only important one I can think of outside of the workspace is the aforementioned memory allocation, which you can set on the command line or in the ECLIPSE.INI file.

5,980 1 1 gold badge 35 35 silver badges 49 49 bronze badges "Unzip" was the step I forgot.. After unzipping the install package I clicked the executable and Eclipse opened up just as I had left it (it remembered which files I had open) - I did have to re-install the ADT plugin though. Strange situation, I still have absolutely no idea what happened. Before reinstalling try to launch it with the original eclipse.ini file You can also try System Restore if your under windows which the problem may suggest that you are. In my case that fixed this issue.

Check eclipse.ini, there are two entries like:

For some twisted reason jars have version in their name - so if you upgrade/have two different version of eclipse( while eclipse.ini is either linked or provided as system wide conf file for eclipse ) it will cause above error.

During unzip in a cygwin directory on Win7, .exe and .dll need to be given executable mode. This is the solution from a mintty (or other $TERM ) terminal run with cygwin on windows 7:

tried with Juno (eclipse 4.2) freshly unzipped, cygwin 1.7.something

7,429 12 12 gold badges 51 51 silver badges 57 57 bronze badges Looks like there are many possible problems and solutions. For me, the key was "cygwin". - Thanks just had the same problem and indeed, executables as well as dlls were simply not unzipped with the x permission.

I have seen this in MacOS Sierra. Sometimes unzipping the app leaves extended attributes that seem to prevent the startup. The following command line removes extended attributes and seems to fix the problem:

xattr -c Eclipse.app

It also works for other applications that are built on the eclipse framework.

It solved my problem. Using Macbook Pro with Sierra 10.12.4.

Another problem (that I ran into) is that Cygwin's unzip utility (UnZip 6.00 of 20 April 2009, by Cygwin. Original by Info-ZIP.) does not always correctly unzip everything needed for Eclipse to actually run.

Using 7ZIP v9.20 got Eclipse Indigo (3.7.2) up and running for me on Win7 64bit with 32bit JVM and 32bit Eclipse.

(First time I've ever had Cygwin's unzip fail on me. )


5,481 2 2 gold badges 15 15 silver badges 26 26 bronze badges

I just ran into this myself and found that, indeed, as one post above stated: using cygwin and gunzip or unzip to set up your eclipse environment the permissions on the .exe and .dll files will be incorrect and the JVM will not run them properly.

быстрое решение:

мой опыт и советы: установите Eclipse Juno на C: drive.

после загрузки zip, поместите его на C:, нажмите правую кнопку мыши -> извлечь здесь. Затем на диске C: будет создана папка eclipse.

затем перейдите в исполняемый файл Eclipse, запустите его, и все будет в порядке.

Я встречаю эту проблему после копирования установки eclipse на другой компьютер.Я нахожу, что установка eclipse автоматически создала .P2 каталог на моем c:\Users\xx.p2 и . пусковая установка.библиотека см. here.So он не существует на моем другом компьютере.
Мое решение-переустановить eclipse:
A) дважды щелкните eclipse-inst-win64.exe
b) Нажмите, чтобы перейти в расширенный режим.
c) снимите флажок Bundle Pool
d) завершите установку и скопируйте снова.
все будет работать что ж.

проблема произошла, когда я распаковал с помощью Cygwin. Использовал стандартную программу распаковки Windows XP, и она работала.

Если у вас есть два затмения, то когда-нибудь это произойдет

вам нужно только удалить

С eclipse.ini файл рядом с eclipse.exe (Launcher)

в основном это связано с проблемами на окнах с распаковкой кажется. (См. другие ответы здесь).

вторая по величине проблема, похоже, заключается в том, что eclipse не может найти java или находит версию java, которая слишком стара или даже более старые установки eclipse.

вот еще один подход к последней проблеме и небольшой поворот, чтобы решить ее. Моя рабочая среда находится в системе linux, без корневого доступа и с установками программного обеспечения, где я могу настроить какие версии использовать в виде файла конфигурации. Однако я не имею никакого влияния на способ установки этих пакетов программного обеспечения, и они неизменны для меня.

я загружаю и распаковываю последнее затмение, как обычно, на пользовательский диск, для которого у меня есть разрешения на запись. Затем я настраиваю себе псевдоним, чтобы всегда временно cd в установку eclipse при запуске. Что независимо от того, где я работаю над файловыми системами, eclipse всегда находит свои правильные библиотеки. Кажется, в некоторых местах, затмения путь поиска по умолчанию для java выкапывает установку (java или более старых затмений или sth еще) в моей среде, что он действительно не должен использовать.

вот псевдоним: псевдоним eclipse ' (pushd/enter_path_to_eclipse_install_dir_here / eclipse ; ./ eclipse; popd)'

теперь вы можете запустить его нормально, например, из вашего проекта или произвольного рабочего каталога:

или также поместить его в фоновом режиме

может быть, это помогает для людей в запутанные рабочие среды.

Я скопировал папку Eclipse с другой машины, где путь был другим, и это было корнем этой проблемы. Изменение пути плагинов в ECLIPSE.INI работал на меня !!

У меня такая же проблема, когда я пытаюсь установить его на Windows8. Но это был zip-файл. Те, которые я распаковываю и запускаю " затмения.exe "файл как запустить как "администрирование" я разрешаю его. Теперь я наслаждаюсь этим очень хорошо. Попробуйте следовать за мной на Fb..если у вас есть какие-либо проблемы, касающиеся установки as'Raj Barhate(MH)' Я докажу все возможное, чтобы решить ваши проблемы хорошо..

3 Answers 3

This solution worked for me:

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

uninstall* Eclipse

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

quit the installer

manually remove the existing installation folder if needed

start the Eclipse installer

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

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

select "Install"

As a plain user:

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

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

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.


2,490 5 5 gold badges 30 30 silver badges 40 40 bronze badges Great appreciations. This did the trick. Now I can get to my homework. Thank you very much once again. It shares common Eclipse components between various installations on the same machine.

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


If it is in Ubuntu, this is how to fixed it. This is a permission problem.

Option fix 1. locate your eclipse installation file and run from terminal

Option fix 2. create a file named eclipse.desktop using gedit on your desktop and add the following

Right click and click Allow Launching. This will open terminal and will ask for the sudo password and run eclipse. Then, you need to add this file to the launcher. Open the launcher with the following command.

drag and drop the eclipse.desktop in the launcher folder. if it doesn't let you you might have to run it as sudo. Adding it to the launcher will allow you to search eclipse within the apps.

Do fix 2 plus you will have to modify the sudoers file and add your username (CAREFUL YOU CAN LOSE ACCESS TO YOUR COMPUTER) if you do this you can change Terminal=true to false. This will make eclipse open without going to terminal and execute normally. If you are brave to modify sudoers file add at the END of the file.

Исполняемый файл запуска затмение было не в состоянии найти своего спутника лаунчер ставни окон

Я столкнулся с небольшой проблемой и нужна помощь по его.

исполняемый файл запуска затмение было не в состоянии найти своего спутника банку лаунчер.

Что я пропал здесь?

редактировать и удалить эти две строки:

та же проблема на моем Mac с предварительно упакованным клиентом RCP, который был распакован только. Другие ответы указали мне на затмение.ini, где все пути выглядели допустимыми, попытался проверить рабочий каталог моего пакета Eclipse, который не видит, что это легко сделать. Кажется, когда Finder запускает приложение, это рабочий каталог / так что, похоже, проблема.

обновил обе ссылки в моем затмении.ini к абсолютным путям и вуаля!

у меня такая же проблема, и ниже Решение работает для меня.

редактировать и удалить эти две строки:

--launcher.library .%%..\eclipse\plugins\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120522-1813

убедитесь, что сделать отдельную копию этого файла перед любым изменением. )

У меня просто была эта проблема, и это, кажется, связано с разрешениями каким-то образом. Я изначально распаковал его в папку Program Files в Windows 8. После распаковки его непосредственно на C: программа запустилась нормально.

пожалуйста, проверьте "затмение.ini-файл":

обычно не должно быть никакого жесткого пути кода, такого как:
(Например)
P:\eclipse\plugins\org.затмение.равноденствие.пусковая установка.с Win32.с Win32.x86_1.1.200.v20140603

Если вы видите что-нибудь вроде этого, пожалуйста, выполните следующие действия:
1. Сделайте резервную копию файла
2. Затем откройте исходный файл в Редакторе
3. измените статический путь на :-- Плагины/орг.затмение.равноденствие.пусковая установка.с Win32.с Win32.x86_1.1.200.v20140603 (и сохранить файл и открыть затмение он будет работать удивительно)

вы должны скопировать в Users / user/.p2 и .затмение из старого места, когда оно приходит из и более старого места. Например, я сделал копию с компьютера на другой, и у меня была эта ошибка, затем я скопировал эти папки, и это сработало !

Я получил эту ошибку, потому что в Windows значок Zend Studio в меню "Пуск" Все еще указывал на предыдущую версию Zend Studio. Как только я изменил цель на новый путь, ошибка исчезла.

Eclipse executable launcher error: Unable to locate companion shared library

I had Eclipse Indigo installed on my computer with the Android plugin and it was working perfectly for about two weeks. Today, I updated java and quicktime then restarted my computer. When it booted back up, eclipse had completely vanished - all the program files have completely disappeared. When I try to reinstall it, I get an error message that says

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

What happened and how can I fix it?


49.1k 25 25 gold badges 193 193 silver badges 182 182 bronze badges


5,637 11 11 gold badges 51 51 silver badges 77 77 bronze badges Your directory structure where the SW was installed is completely gone? This would be a pretty strange error. Yes. Everything related to eclipse, except for my project folder, is gone I had the same issue in Ubuntu 12.10. all I had to do was change the corresponding paths on the eclipse.ini file and everything was back to normal.

Quick solution:

I meet this issue after copy a eclipse installation to another pc.I find the eclipse installation auto created the .p2 directory on my c:\Users\xx.p2, and --launcher.library refer to here.So it doesn't exist on my another pc.
My resolution is to reinstall eclipse:
a)Double click eclipse-inst-win64.exe
b)Click to change to advanced mode.
c)Uncheck the Bundle Pool
d)Finish your installation and copy again.
Everything will work well.


My experience and advice: Install Eclipse Juno on C: drive.

After download the zip, put it on C:, click the right mouse button -> extract here. Then a folder called eclipse will be created in C: drive.

Then go to Eclipse executable, run it, and all will be ok.

Problem happened when I unzipped using Cygwin. Used the Windows XP standard unzip program and it worked.

if you are having two eclipse then sometime this happens

you only have to remove

from eclipse.ini file beside eclipse.exe(Launcher)


31.6k 16 16 gold badges 217 217 silver badges 269 269 bronze badges

The gist is: Try unzipping it again with a solid unzip tool. Sometimes unzipping goes wrong, especially with the built-in Windows Explorer tool.


i have this error message when i use extract the files as follows:

  • action\select all
  • drag and drow the files to an new folder

Somehow information about the folders get lost

when i use "action\extract to. " it works.

Also, remember to right click on eclipse, then choose Security Unblock

14.6k 11 11 gold badges 99 99 silver badges 147 147 bronze badges

Mostly this is related to problems on windows with the unzipping it seems. (See other answers here for that).

The second largest issue seems to be that eclipse is not able to find java or finds a java version which is too old or even older eclipse installations.

Here's another take to the latter problem and a small twist to solve it. My work environment is on a linux system, without root access, and with software installations where I can configure which versions to use in a kind of config file. However I have no influence on the way those software packages are installed and they are immutable to me.

I download and untar the latest eclipse as usual to a user disk for which I have write permissions. Then I configure myself an alias to always temporarily cd into the eclipse installation when starting. That regardless of where I work on the file systems, eclipse always finds its correct libraries. It seems in some places, eclipses default search path for java digs out an installation (of java or older eclipses or sth else) in my environment that it really should not use.

Here's the alias: alias eclipse '(pushd /enter_path_to_eclipse_install_dir_here/eclipse ; ./eclipse ; popd)'

Читайте также: