The Eclipse executable launcher was unable to locate its companion launcher jar windows

Eclipse

Eclipse Problem Overview


I am facing a small issue and need help on it.

I had to re-install Windows on my laptop. After that I installed Java, extracted Eclipse and set the environment variables, namely Path to the Java bin directory and also created a JAVA_HOME variable and set it. Every time I try opening eclipse.exe I get the following error.

> The eclipse executable launcher was unable to locate its companion launcher jar.

What am I missing here?

Eclipse Solutions


Solution 1 - Eclipse

The most common reason for this message seems to be unzipping the eclipse zip file wrongly (for instance unzipping without recreating the directory structure). Therefore please unzip the zipped Eclipse again with a good unzip tool (like 7-zip) and make sure that the necessary sub directories are created during the extraction.

Also make sure that the path to the unzipped Eclipse does not get very long. I've seen cases where Eclipse was unzipped into a deeply nested directory structure (to put it at some place into an SVN repository) and that led to the same error message.

If that still doesn't work, you may try launching eclipse.exe with administrative rights. That should not really be necessary, but maybe your access rights are somehow broken after the re-installation of Windows.

Solution 2 - Eclipse

Edit the eclipse.ini file and remove these two lines:

-startup
plugins\org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar 

Solution 3 - Eclipse

Same issue on my Mac with a pre-packaged RCP client that was unzip only. The other answers pointed me to the eclipse.ini where all the paths looked valid, tried to check the working directory of my Eclipse bundle that doesn't see that easy to do. Seems when Finder starts an application it's working directory is / so that seems to be the issue.

Updated both references in my eclipse.ini to absolute paths and voila!

-startup
/Applications/RCPClient/client/eclipse/plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
/Applications/RCPClient/eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.2.R36x_v20101019_1345
...

Solution 4 - Eclipse

Solution for Mac

Reason: Eclipse is copied from one location to another.

Solution: Need to update path(s) in eclipse.ini. My eclipse.ini was found in /Applications/eclipse/Eclipse.app/Contents/MacOS/eclipse.ini.

We need to update the path for plugins\org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar.

Solution 5 - Eclipse

You have to copy in Users/user/.p2 and .eclipse from old location when it come from and older location. For example i made a copy from computer to another, and i had this error, then i copied those folders and it worked !

Solution 6 - Eclipse

I've the same problem, and the below solution exactly work for me....!

Edit eclipse.ini file and remove these two lines:

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

Make sure make a separate copy of this file before any changing...:)

Solution 7 - Eclipse

You might want to check that library

**org.eclipse.equinox.launcher_(version).dist.jar**
and 
**plugins/org.eclipse.equinox.launcher.gtk.linux.x86_(version).dist**
exists on your system. 

Make sure that the version of libraries mentioned in eclipse.ini and the version that exists on your system is same. Usually after upgrade this mismatch occurs and eclipse fails to locate the required jar. Please take a look at this blog post here

Solution 8 - Eclipse

I just had this problem and it seems to be related to permissions somehow. I initially unzipped it to my Program Files folder, in Windows 8. After unzipping it directly to C: the program started normally.

Solution 9 - Eclipse

Please Check "eclipse.ini" file:

Normally there should not be any hard code path like:
(For example)
P:\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20140603

If you see anything like this please follow these steps:

  1. Make Backup of the file
  2. Then open the file original file in Editor
  3. change the static path to :-- plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20140603 (and save file and open your eclipse it will work amazing)

Solution 10 - Eclipse

open eclipse.ini and replace with this ~

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120522-1813
-product
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256M
-showsplash
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx768m
-Declipse.buildId=v21.0.0-531062

this work for me, good luck ~

Solution 11 - Eclipse

I got this error because on Windows the Zend Studio Icon in the Start Menu was still pointing at the previous version of Zend Studio. Once I changed the target to the new path, the error went away.

Solution 12 - Eclipse

My issue was much simpler. I had created a shortcut to launch the eclipse executable by dragging it from the folder to the screen. Clicking on the created shortcut icon gave the above error.

Issue: the executable was getting launched from the desktop location instead of the eclipse directory where it had been unzipped.

Solution: Create a new shortcut by right-clicking in the desktop area and providing the target executable from the browse window. This creates the shortcut properly and launches the executable from the right home directory.

Solution 13 - Eclipse

I Had same problem and it seems that there is wrong "--launcher.library " address in eclipse.ini file. so I have just changed it and

Solution 14 - Eclipse

In my case I had to redownload it, something was wrong with the one I downloaded. Its size was far much less than the one on the website.

Solution 15 - Eclipse

just add -vm C:\Java\JDK\1.6\bin\javaw.exe before -vmarg in eclipse.ini this works for me.Hope this will help you good luck...

Solution 16 - Eclipse

Windows 8 follow these 3 steps:

  1. Locate eclipse file.
  2. create shortcut on desktop.
  3. Double click on the eclipse shortcut to open the application.

Solution 17 - Eclipse

I was facing the same issue with Eclipse JUNO & windows XP. After changing a lot of things in eclipse.ini still it was not working and then i deleted it, i don't know why its starts working after deleting this init file. You may try for yours

Solution 18 - Eclipse

On windows Eclipse installer app writes also below admin user directory. And when I started the same eclipse as normal (another) user, it could not find admin users ecplise directory. That directory is in eclipse.ini file. (This installer has made for neon eclipse.)

Solution 19 - Eclipse

Run eclipse.exe file as an Administrator. It worked for me

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionAjayView Question on Stackoverflow
Solution 1 - EclipseBananeweizenView Answer on Stackoverflow
Solution 2 - EclipseguestView Answer on Stackoverflow
Solution 3 - EclipseSeanView Answer on Stackoverflow
Solution 4 - EclipsesabbirView Answer on Stackoverflow
Solution 5 - EclipsecyrilView Answer on Stackoverflow
Solution 6 - EclipseArsalanView Answer on Stackoverflow
Solution 7 - EclipseteardropView Answer on Stackoverflow
Solution 8 - EclipsejulealgonView Answer on Stackoverflow
Solution 9 - EclipsePrashant KumarView Answer on Stackoverflow
Solution 10 - Eclipsesplatter_fadliView Answer on Stackoverflow
Solution 11 - EclipseOnshopView Answer on Stackoverflow
Solution 12 - EclipseNanda RameshView Answer on Stackoverflow
Solution 13 - EclipseamiraniView Answer on Stackoverflow
Solution 14 - EclipseMohamed KhamisView Answer on Stackoverflow
Solution 15 - Eclipsevenkata ujwala dokkuView Answer on Stackoverflow
Solution 16 - Eclipseuser4390717View Answer on Stackoverflow
Solution 17 - EclipseThe PowerHouseView Answer on Stackoverflow
Solution 18 - EclipseTuomasView Answer on Stackoverflow
Solution 19 - EclipseSachindra N. PandeyView Answer on Stackoverflow