| Eclipse Executable Cannot Find Companion Shared Library Error (Solution) [message #648867] |
Fri, 14 January 2011 13:56  |
No real name Messages: 1 Registered: January 2011 |
Junior Member |
|
|
I installed Eclipse for the first time and couldn't launch because of an error that says something like: "Eclipse launch executable could not find shared companion library."
I did a Google search for solutions and found many user complaints about the same problem, but no satisfactory solution.
People advised new users to do things like redownload the archive, re-extract the archive, re install JRE, change account permissions etc.
None of these actually solved the problem, and I found it didn't solve the problem for many of the users who had posted on various forums either.
After investigating for an hour or so I found that the problem occurs if you change the default name that the .zip archive extracts to. I believe the default name will be something like "eclipse-javascript-helios-SR1-win32-x86_64" or something analogous based on your specific platform. If you install into a directory with another name, like "eclipse", a default path somewhere in the installation breaks. Preserving the directory name gets rid of the problem.
I'm sure there is a configuration setting somewhere which you can probably change to fix this problem, but if you would rather not spend the time investigating, then renaming the directory is a shortcut that works.
|
|
|
| Re: Eclipse Executable Cannot Find Companion Shared Library Error (Solution) [message #649753 is a reply to message #648867] |
Thu, 20 January 2011 09:23   |
Eric Rizzo Messages: 2011 Registered: July 2009 |
Senior Member |
|
|
On 1/14/11 1:56 PM, SpasticWilliams@gmail.com wrote:
> I installed Eclipse for the first time and couldn't launch because of an
> error that says something like: "Eclipse launch executable could not
> find shared companion library."
>
> I did a Google search for solutions and found many user complaints about
> the same problem, but no satisfactory solution.
>
> People advised new users to do things like redownload the archive,
> re-extract the archive, re install JRE, change account permissions etc.
>
> None of these actually solved the problem, and I found it didn't solve
> the problem for many of the users who had posted on various forums either.
>
> After investigating for an hour or so I found that the problem occurs if
> you change the default name that the .zip archive extracts to. I believe
> the default name will be something like
> "eclipse-javascript-helios-SR1-win32-x86_64" or something analogous
> based on your specific platform. If you install into a directory with
> another name, like "eclipse", a default path somewhere in the
> installation breaks. Preserving the directory name gets rid of the problem.
>
> I'm sure there is a configuration setting somewhere which you can
> probably change to fix this problem, but if you would rather not spend
> the time investigating, then renaming the directory is a shortcut that
> works.
While I appreciate your efforts to give back to this community by
providing information, I have to point out that your conclusion is
simply not correct. I ALWAYS install Eclipse into a custom-named
directory from the zip files, on both Windows and Mac OS X. Unless I've
misunderstood your "solution" I think something else must have changed
during your trials, because the zip file name has nothing to do with
Eclipse running.
The only thing I can think of from your description is that when you
extracted the zip previously, you did not preserve the directory
structure from the zip file (not the zip file name, but rather the
directories that are contained within it); doing that would definitely
cause things to break.
Eric
|
|
|
|
|
|
| Re: Eclipse Executable Cannot Find Companion Shared Library Error (Solution) [message #1053248 is a reply to message #648867] |
Fri, 03 May 2013 07:26  |
Juno Kitch Messages: 1 Registered: May 2013 |
Junior Member |
|
|
Dear developers,
I have exactly the same problem. This is a bug and should be treated as such. I have over 20 years experience programming and administrating computers, so I can assure this is a real issue.
Double clicking the jar file:
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
will boot Eclipse, so the problem rests in the INI file.
I do not have the file in the zip (downloaded about 1 hour ago) called
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120913-144807
-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.v20120913-144807
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Xms40m
-Xmx512m
I added the JRE by adding the following line to the INI file
-vm
/Progra~1/Java/jre7
This makes no difference. This error message would not show if there was no JRE. I'm using Oracle's official latest Windows JRE (v7). I am running XP/32.
Please can you fix the INI file so that the product works out of the box please, and save beginners a lot of time.
Thank you.
|
|
|
Powered by
FUDForum. Page generated in 0.01746 seconds