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

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?

This question is related to eclipse

The answer is


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
...

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...


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

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

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.


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.)


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.

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.


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


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


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.


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)


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


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.


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.


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 ~


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


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 !


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...:)