• Register
0 votes
491 views

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:

-startup
plugins\org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810 

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:

-startup
plugins\org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810

 

OR

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

OR

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

Solution:

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:

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120913-144807

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

0 votes
1 answer 11 views
11 views
Problem : failed to load jni shared library jvm.dll eclipse
asked Feb 25 Shovo210 13.9k points
1 vote
1 answer 315 views
315 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 5 views
5 views
Problem: As I mentioned in my previous query, I'm having difficulties with my learning; I've tried searching the web but haven't been able to find adequate information; could you assist me in continuing my project?
asked Mar 29 tuhin1 48.9k points
0 votes
0 answers 3 views
3 views
Problem: As I mentioned in my previous query, I'm having difficulties with my learning; I've tried searching the web but haven't been able to find adequate information; could you assist me in continuing my project?
asked Mar 29 tuhin1 48.9k points
0 votes
1 answer 1.7K views
1.7K 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 8 views
8 views
Problem: I am having a problem that i unable to locate an executable at. can any one help me solving that issue.
asked Mar 22 waseem memon 2.4k points
0 votes
1 answer 2 views
2 views
Question: I have just started Android programming so downloaded Eclipse and got started. I did as they said. Connected my device via USB, enabled USB debugging too, but when I clicked Run on eclipse, got the above error. What have I done wrong?
asked 2 days ago Atik03 10.1k points
1 vote
1 answer 7 views
7 views
Problem : Why I got the error : "The hierarchy of the type 'Class name' is inconsistent" in some files What causes these errors and how do I fix them? Note : I have downloaded some open source software written in Java and tried to compile it using Eclipse.
asked Mar 20 Shovo210 13.9k points
0 votes
1 answer 1.3K views
1.3K 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