• Register
0 votes

Problem :

Currently I am facing the below error, while launching my Eclipse:

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

Previously my Eclipse was working fine when I had the jre6 installed on the pc. However after I installed the jre7 update 25 on the pc, I am unable to launch my Eclipse.

My Eclipse ini-file has below lines:


How should I fix above error?

6 5 3
7,540 points

Please log in or register to answer this question.

2 Answers

0 votes

Solution :

I had faced the similar issue in the recent past and after doing lot of research I figured out that it was the result of an update. So please make sure that the names of all the libraries which you have mentioned in your eclipse.ini file and the actual names of those files on your hard disk are matching exactly.

Please find below my Eclipse ini-file which has below lines:




I found the solution on the above issue. In my case, the '-starter' and the '--launcher.library' had the duplicate lines, which when I removed then that seemed to resolve my issue


It worked for me only after I removed my eclipse folder and all the related folders like .p2, .eclipse etc. and after that I simply re-downloaded my eclipse, it worked.

9 7 4
38,600 points
0 votes


That sounds pretty bad and strange. However reinstalling isn't that hard - download, unzip, alter the default memory apportionment, run Eclipse, install required plugins and features.

And nearly all of the significant preferences are in your workspace. The only crucial one I can think of outside of the workspace is the aforenamed memory allocation, which you can place on the command line or in the ECLIPSE.INI file.

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

Check eclipse.ini, there are two entries like:


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

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

me@mymachine ~/eclipse
$ find . -name "*.dll" -exec chmod +x {} \;

Attempted with Juno (eclipse 4.2) anew unzipped, cygwin 1.7.something

I have noticed this in MacOS Sierra. Occasionally unzipping the app leaves extended attributes that appear to prevent the startup. The following command line removes extended attributes and indicates to solve the problem:

xattr -c Eclipse.app

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

Another problem  is that Cygwin's unzip utility (UnZip 6.00 of 20 April 2009, by Cygwin. Original by Info-ZIP.) does not always accurately unzip everything required for Eclipse to really run.

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

I only ran into this myself and figured out that, actually, as one post above stated: employing cygwin and gunzip or unzip to established your eclipse environment the permissions on the .exe and .dll files will be false and the JVM will not run them rightly.

#switch to the eclipse target folder
cd /cygdrive/c/Program\ Files\ \(x86\) #or wherever you put eclipse
find ./ -regextype posix-extended -mindepth 1 -type f -regex ".*\.exe|.*\.dll" |\
xargs chmod -v 750

How to resolve this problem

  • Delete the Eclipse folder where the setup was extracted.

  • Currently extract it again with a well known unzip tool (have a glance at the extension of the compressed file zip,rar, tar or 7-zip and use a extract tool that supports it).

  • Now attempt running eclipse.exe and you should be able to launch it .

10 6 4
31,120 points

Related questions

1 vote
1 answer 174 views
Problem : I have recently started learning Android. If I try to execute my Android project on my Eclipse ADT then I often see below errors in my Console: [Dex Loader] Failed to load C:\Users\Martin\android-sdks\build-tools\26.0.0-preview\lib\dx.jar [ ... this case "C:\Users\Martin\android-sdks" is considered as the SDK folder. Kindly help me in fixing above strange looking Android error.
asked May 21, 2020 Martin K 6.6k points
0 votes
1 answer 1.4K views
Problem : I have already placed the JSTL JAR file in the WEB-INF/lib directory. But still, the JSP can't resolve the taglib. I get the below error: Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"
asked Oct 19, 2019 peterlaw 6.9k points
0 votes
1 answer 1K views
Problem : Getting below eclipse error the class file viewer cannot handle the given input ('org.eclipse.ui.ide.filestoreeditorinput').
asked Nov 12, 2019 peterlaw 6.9k points
1 vote
1 answer 83 views
Problem: I am very new to Web.xml coding. Currently I am facing serious problem because of my web.xml file. If I try to run my Apache tomcat 8 server then every time it shows me below error: Server tomcat v8.0 server at localhost failed to start. in eclipse. If I ... . This error made my life like the hell. So I am looking for the help from web.xml expert who can help me in fixing my problem.
asked May 18, 2020 Martin K 6.6k points
0 votes
1 answer 48 views
Problem : I created a project by Maven integration in Eclipse , but in the work space in all JSP files have bellow message: The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
asked Oct 31, 2019 peterlaw 6.9k points
0 votes
1 answer 9 views
1 vote
1 answer 266 views
Problem: Hello Guys, I am trying to import a Maven project in my Eclipse IDE but the project is not importing properly. It shows an error, source folder is not a java project when I m trying to give it a new call-in it. The problem is literally going over my head ... the problem, as well as have a solution, please speak up. I'm surfing over the internet for an hour but couldn’t fix this yet.
asked Apr 2, 2020 Gavin 15.3k points
0 votes
1 answer 14 views
Solve this error.
asked Jan 4 TeamScript 9.3k points
0 votes
1 answer 12 views
Have gotten eclipse to open and work on projects before and won't open.
asked Dec 28, 2020 TeamScript 9.3k points